RosettaCodeData/Task/Stack/Z80-Assembly/stack-4.z80

3 lines
159 B
Z80 Assembly

ld (&nnnn),SP ;&nnnn represents a memory location that the programmer will later read from to use as a
;comparison for the current stack pointer