Using SETBRK instructions during debug ISR's
ozpropdev
Posts: 2,792
in Propeller 2
Hi P2heads,
I've discovered that a "spacer" instruction is needed after
a SETBRK instruction otherwise invalid values are returned in INA/INB.
For example
I've discovered that a "spacer" instruction is needed after
a SETBRK instruction otherwise invalid values are returned in INA/INB.
For example
setbrk #%1000000 'ina/inb as pin status nop mov porta,ina 'get pins setbrk #1 'ina/inb as ISR data nop mov next_pc,inb 'get CZ flags & PC
Comments