Remove all address comments

This commit is contained in:
mid-kid
2018-06-24 16:09:41 +02:00
parent 131875d3e3
commit 1d9a68dbdd
616 changed files with 12133 additions and 20380 deletions

View File

@@ -1,6 +1,6 @@
NUM_SQUARE_ROOTS EQU 255
GetSquareRoot: ; 13b87
GetSquareRoot:
; Return the square root of de in b.
; Rather than calculating the result, we take the index of the
@@ -24,7 +24,7 @@ GetSquareRoot: ; 13b87
jr c, .loop
ret
.Squares: ; 13b98
.Squares:
x = 1
rept NUM_SQUARE_ROOTS
dw x * x

View File

@@ -1,4 +1,4 @@
_Multiply:: ; 66de
_Multiply::
; hMultiplier is one byte.
ld a, 8
@@ -82,10 +82,9 @@ _Multiply:: ; 66de
ld [hProduct + 0], a
ret
; 673e
_Divide:: ; 673e
_Divide::
xor a
ld [hMathBuffer + 0], a
ld [hMathBuffer + 1], a
@@ -193,4 +192,3 @@ _Divide:: ; 673e
ld [hDividend + 0], a
ret
; 67c1

View File

@@ -1,4 +1,4 @@
_PrintNum:: ; c4c7
_PrintNum::
; Print c digits of the b-byte value from de to hl.
; Allows 2 to 7 digits. For 1-digit numbers, add
; the value to char "0" instead of calling PrintNum.
@@ -178,7 +178,7 @@ _PrintNum:: ; c4c7
pop bc
ret
.PrintYen: ; c5ba
.PrintYen:
push af
ld a, [hPrintNum1]
and a
@@ -193,7 +193,7 @@ _PrintNum:: ; c4c7
pop af
ret
.PrintDigit: ; c5cb (3:45cb)
.PrintDigit:
dec e
jr nz, .ok
ld a, "0"
@@ -278,14 +278,14 @@ _PrintNum:: ; c4c7
ld [hl], "<DOT>"
ret
.PrintLeadingZero: ; c644
.PrintLeadingZero:
; prints a leading zero unless they are turned off in the flags
bit 7, d ; print leading zeroes?
ret z
ld [hl], "0"
ret
.AdvancePointer: ; c64a
.AdvancePointer:
; increments the pointer unless leading zeroes are not being printed,
; the number is left-aligned, and no nonzero digits have been printed yet
bit 7, d ; print leading zeroes?

View File

@@ -1,4 +1,4 @@
_Sine:: ; 84d9
_Sine::
; a = d * sin(e * pi/32)
ld a, e
calc_sine_wave