mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
bbf2f51a02
This results in 64 home/*.asm files, comparable to pokecrystal's 57.
13 lines
203 B
NASM
13 lines
203 B
NASM
; copies a string from [de] to [wcf4b]
|
|
CopyStringToCF4B::
|
|
ld hl, wcf4b
|
|
; fall through
|
|
|
|
; copies a string from [de] to [hl]
|
|
CopyString::
|
|
ld a, [de]
|
|
inc de
|
|
ld [hli], a
|
|
cp "@"
|
|
jr nz, CopyString
|
|
ret
|