Closed zu2 closed 1 month ago
--- ../Fuzix-Compiler-Kit/support6800/__notl.s 2024-10-13 22:57:57
+++ support6800/__notl.s 2024-10-10 17:37:23
@@ -5,7 +5,7 @@
orab @hireg
orab @hireg+1
bne false
- cmpa #0
+ tsta
bne false
clra
ldab #1
Thanks
Sorry, my typo.
--- ../Fuzix-Compiler-Kit/support6800/makebool.s 2024-10-26 08:56:57
+++ support6800/makebool.s 2024-11-07 21:23:34
@@ -77,7 +77,7 @@
boolule:
beq ret1
boolult: ; use C flag
- bcc ret0
+ bcs ret1
clra
clrb
rts
thanks
tsta/b is 1 byte shorter than cmpa/b #0. It can be made even shorter by switching the collation order of AccA and B.