Small speed improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2979 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1201,13 +1201,11 @@ CALC:
|
||||
|
||||
abs:
|
||||
; a/y := abs(a/y)
|
||||
dey
|
||||
iny
|
||||
cpy #$00
|
||||
bpl absend
|
||||
; negay
|
||||
neg: clc
|
||||
eor #$ff
|
||||
adc #1
|
||||
neg: eor #$ff
|
||||
add #1
|
||||
pha
|
||||
tya
|
||||
eor #$ff
|
||||
|
||||
Reference in New Issue
Block a user