diff --git a/libsrc/common/abs.s b/libsrc/common/abs.s index 89161ab59..273ec1c9a 100644 --- a/libsrc/common/abs.s +++ b/libsrc/common/abs.s @@ -7,8 +7,7 @@ .export _abs .import negax -_abs: dex - inx ; test hi byte +_abs: cpx #$00 ; test hi byte bpl L1 jmp negax ; Negate if negative L1: rts