[Simh] CMP R3,(R3)+
Lars Brinkhoff
lars at nocrew.org
Mon Jul 30 07:17:36 EDT 2018
Timothe Litt wrote:
> Your code doesn't use the condition codes, so there's no difference between
> your cmp and a TST (R3)+.
Thank you!
Rhialto wrote:
> OPR %R,(R)+ is listed as case 1. The difference between cases is
> whether R is incremented before using it as the source operand.
Yes, that's why PALX is complaining.
> Both instructions affect all 4 flags, so no code can already depend on
> preserving any.
Thanks!
I did this change, and alerted the original author. :-)
More information about the Simh
mailing list