AnsweredAssumed Answered

BRSET - assembly listing

Question asked by SP Lee on Nov 24, 2010
Latest reply on Nov 24, 2010 by kef


I am using CodeWarrior for MC9S08. I am trying to understand the assembly listing in the True-Time Simulator & Real-Time Debugger. The first line of the listing is


0000   000000   BRSET   0,0x00, *+3        ;abs = 0x0003


but from what I understand from the instruction set, the source and object code for BRSET is:


BRSET   n, opr8a, rel



00 dd rr   (assuming we are dealing with b0)


Therefore the object code should be 000003.

Why is it 000000 instead?