Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1 @@
LD SP,&FFFF

View file

@ -0,0 +1,4 @@
push af
push bc
push de
push hl

View file

@ -0,0 +1,4 @@
pop hl
pop de
pop bc
pop af

View file

@ -0,0 +1,2 @@
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

View file

@ -0,0 +1,2 @@
ld hl,0
add hl,sp ;the z80 doesn't allow you to load SP directly into HL, so this is the quickest way

View file

@ -0,0 +1 @@
ADD SP,&FE ;subtract two from the stack pointer. Remember that the stack grows "down" in memory.