mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
13 lines
213 B
NASM
13 lines
213 B
NASM
; copies a string from de to wStringBuffer
|
|
CopyToStringBuffer::
|
|
ld hl, wStringBuffer
|
|
; fall through
|
|
|
|
; copies a string from de to hl
|
|
CopyString::
|
|
ld a, [de]
|
|
inc de
|
|
ld [hli], a
|
|
cp "@"
|
|
jr nz, CopyString
|
|
ret
|