diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-05-20 17:55:27 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-05-20 17:55:27 -0400 |
commit | 846e3e65de52b9cd09df75cc72da198f8b3d9140 (patch) | |
tree | 4d69e276b542a6313ac3e798ed7107a117e942a2 /home/copy2.asm | |
parent | 9afacc7842a733770ec73893bb6c14d434c828e7 (diff) |
adc a, 0 → adc 0; fix comments
Diffstat (limited to 'home/copy2.asm')
-rw-r--r-- | home/copy2.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/home/copy2.asm b/home/copy2.asm index 23e1eca7f..63f3cfafb 100644 --- a/home/copy2.asm +++ b/home/copy2.asm @@ -1,7 +1,7 @@ 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 + inc b ; we bail the moment b hits 0, so include the last run + inc c ; same thing; include last byte jr .HandleLoop .CopyByte: ld a, [hli] @@ -39,8 +39,8 @@ SwapBytes:: ; 0x3034 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 + inc b ; we bail the moment b hits 0, so include the last run + inc c ; same thing; include last byte jr .HandleLoop .PutByte: ld [hli], a |