diff options
author | Lynn "Zhorken" Vaughan <zhorken@gmail.com> | 2012-05-14 21:57:00 -0400 |
---|---|---|
committer | Lynn "Zhorken" Vaughan <zhorken@gmail.com> | 2012-05-23 14:51:21 -0400 |
commit | 28e223d9889f046f0316f5f61c463caf88a212ce (patch) | |
tree | 7444331e857a4d2c69af41ce02ec5212a9837690 | |
parent | 45083625ee45b4bd71f1f940eae4bf73c3bb4654 (diff) |
Spaces to tabs.
-rw-r--r-- | main.asm | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -27,19 +27,19 @@ CopyBytes: ; 0x3026 SwapBytes: ; 0x3034 ; swap bc bytes between hl and de .Loop - ; stash [hl] away on the stack + ; stash [hl] away on the stack ld a, [hl] push af - ; copy a byte from [de] to [hl] + ; copy a byte from [de] to [hl] ld a, [de] ld [hli], a - ; retrieve the previous value of [hl]; put it in [de] + ; retrieve the previous value of [hl]; put it in [de] pop af ld [de], a - ; handle loop stuff + ; handle loop stuff inc de dec bc ld a, b @@ -84,19 +84,19 @@ GetFarByte: ; 0x304d GetFarHalfword: ; 0x305d ; retrieve a halfword from a:hl, and return it in hl. - ; bankswitch to new bank + ; bankswitch to new bank ld [$ff00+$8b], a ld a, [$ff00+$9d] push af ld a, [$ff00+$8b] rst $10 - ; get halfword from new bank, put it in hl + ; get halfword from new bank, put it in hl ld a, [hli] ld h, [hl] ld l, a - ; bankswitch to previous bank and return + ; bankswitch to previous bank and return pop af rst $10 ret |