comment tweaks

This commit is contained in:
Brooke Vibber 2023-01-04 21:09:45 -08:00
parent 3a0545b673
commit 373e1441d3

View file

@ -38,8 +38,8 @@ FRX = $ec
.local next
; does 16-bit adds
; arg1 must be 0 or positive
; arg2 must be 0 or positive
; arg1 and arg2 are treated as unsigned
; negative signed inputs must be flipped first
; 7 cycles up to the branch
@ -66,7 +66,7 @@ one: ; 32 cyc, 37 cyc
sta result + 2 ; 3 cyc
lda result + 3 ; 3 cyc
adc arg2 + 1 ; 3 cyc
ror a ; 2 cyc
ror a ; 2 cyc - get a jump on the shift
sta result + 3 ; 3 cyc
next:
ror result + 2 ; 5 cyc