Hello, Rhad, and welcome!
Until now I've never looked at any of the code in Klaus's suite, but based on this snippet there does seem to be a puzzle here.
Is it possible the following lines are confusing your assembler? (I know they're confusing me!
) Anyway, maybe the result is something other than what Klaus's assembler would give. For me that's the first thing that comes to mind -- an assembler issue (with the expression for the CMP instruction).
Code:
cmp_flag 0 ;flags off except break (pushed by sw) + reserved?
0672 : c930 > cmp #(0 |fao)&m8 ;expected flags + always on bits
But the comment does say, ""except break (pushed by sw) + reserved"... followed by a question mark. Maybe someone will pipe up who can explain that.
Edit: I've gotten too distracted by "sw" and the odd expression, and have overlooked the actual issue
-- which Chromatix identifies below.
cheers
Jeff
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html