diff options
author | U-Daniel-PC\Daniel <corrnondacqb@yahoo.com> | 2015-06-05 14:01:18 -0500 |
---|---|---|
committer | U-Daniel-PC\Daniel <corrnondacqb@yahoo.com> | 2015-06-05 15:10:39 -0500 |
commit | d48ea223eaad84af95e4f29043c279b56aa4ae88 (patch) | |
tree | 2fd8807ed257d9d9f03e351c2d6a71d7b208d671 /home/copy2.asm | |
parent | b0b1f88b9466f0414e4a6c782b5348f46768c8c4 (diff) |
Fix a lot of bugs
Diffstat (limited to 'home/copy2.asm')
-rw-r--r-- | home/copy2.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/home/copy2.asm b/home/copy2.asm index 318ed882..ad82260a 100644 --- a/home/copy2.asm +++ b/home/copy2.asm @@ -14,11 +14,11 @@ FarCopyDataDouble:: ; 15d4 (0:15d4) ld e,a ld a,b and a - jr z,.8bitcopyamount + jr z,.eightbitcopyamount ld a,c and a ; multiple of $100 jr z, .expandloop ; if so, do not increment b because the first instance of dec c results in underflow -.8bitcopyamount +.eightbitcopyamount inc b .expandloop ld a,[de] @@ -134,13 +134,13 @@ FillMemory:: ; 166e (0:166e) push af ld a,b and a - jr z, .8bitcopyamount + jr z, .eightbitcopyamount ld a,c and a - jr z, .mulitpleof$100 -.8bitcopyamount + jr z, .mulitpleof0x100 +.eightbitcopyamount inc b -.multipleof$100 +.mulitpleof0x100 pop af .loop ld [hli],a |