Daniel Tan

Can instruction "BRN" be decoded by CW 6.1?

Discussion created by Daniel Tan on Nov 4, 2008
Latest reply on Nov 4, 2008 by Daniel Tan
I have a asm file using HCS08 instructions( just test it) like below:
            LDHX   #RAMEnd+1        ; initialize the stack pointer
            CLI                                    ; enable interrupts
            BRN    _Startup
In memory window of debugger:
0100: 45 02 80 94 9A 21 F9
But in assembly window of debugger:
            LDHX #0x0280
            ADC  ,X
It seems like the "BRN" (opcode is 21) can't be decoded correctly by CW6.1.
What's wrong with it?

Message Edited by Daniel Tan on 2008-11-04 05:20 AM