The z80 assembler when in .hc64 mode, accepts the tst instruction only with the a operand ommitted, e.g.
tst a, #0x05 is rejected, but tst #0x05 works.
This is in contrast to other instructions where the assembler accepts both forms. The assembler should accept tst with explicit a operand.
Log in to post a comment.