comment tweaks
This commit is contained in:
parent
3a0545b673
commit
373e1441d3
1 changed files with 3 additions and 3 deletions
6
mandel.s
6
mandel.s
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue