diff options
Diffstat (limited to 'home/copy2.asm')
-rw-r--r-- | home/copy2.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/home/copy2.asm b/home/copy2.asm index bdfbe9fdf..136c5f602 100644 --- a/home/copy2.asm +++ b/home/copy2.asm @@ -1,4 +1,4 @@ -CopyBytes: ; 0x3026 +CopyBytes:: ; 0x3026 ; copy bc bytes from hl to de inc b ; we bail the moment b hits 0, so include the last run inc c ; same thing; include last byte @@ -14,7 +14,7 @@ CopyBytes: ; 0x3026 jr nz, .CopyByte ret -SwapBytes: ; 0x3034 +SwapBytes:: ; 0x3034 ; swap bc bytes between hl and de .Loop ; stash [hl] away on the stack @@ -37,7 +37,7 @@ SwapBytes: ; 0x3034 jr nz, .Loop ret -ByteFill: ; 0x3041 +ByteFill:: ; 0x3041 ; fill bc bytes with the value of a, starting at hl inc b ; we bail the moment b hits 0, so include the last run inc c ; same thing; include last byte @@ -51,7 +51,7 @@ ByteFill: ; 0x3041 jr nz, .PutByte ret -GetFarByte: ; 0x304d +GetFarByte:: ; 0x304d ; retrieve a single byte from a:hl, and return it in a. ; bankswitch to new bank ld [hBuffer], a @@ -72,7 +72,7 @@ GetFarByte: ; 0x304d ld a, [hBuffer] ret -GetFarHalfword: ; 0x305d +GetFarHalfword:: ; 0x305d ; retrieve a halfword from a:hl, and return it in hl. ; bankswitch to new bank ld [hBuffer], a @@ -92,7 +92,7 @@ GetFarHalfword: ; 0x305d ret ; 0x306b -FarCopyWRAM: ; 306b +FarCopyWRAM:: ; 306b ld [hBuffer], a ld a, [rSVBK] push af @@ -104,7 +104,7 @@ FarCopyWRAM: ; 306b ret ; 307b -GetFarWRAMByte: ; 307b +GetFarWRAMByte:: ; 307b ld [hBuffer], a ld a, [rSVBK] push af @@ -118,7 +118,7 @@ GetFarWRAMByte: ; 307b ret ; 308d -GetFarWRAMWord: ; 308d +GetFarWRAMWord:: ; 308d ld [hBuffer], a ld a, [rSVBK] push af |