diff options
Diffstat (limited to 'home/copy_name.asm')
-rwxr-xr-x | home/copy_name.asm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/home/copy_name.asm b/home/copy_name.asm new file mode 100755 index 00000000..59c8cf6c --- /dev/null +++ b/home/copy_name.asm @@ -0,0 +1,13 @@ +CopyName1:: +; Copies the name from de to wStringBuffer2 + ld hl, wStringBuffer2 + +CopyName2:: +; Copies the name from de to hl +.loop + ld a, [de] + inc de + ld [hli], a + cp "@" + jr nz, .loop + ret |