shithub: pokered

ref: 72a0e98c9393b0fdbe5bf209eac6591dddd9cfc5
dir: /home/copy_string.asm/

View raw version
; 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