AnsweredAssumed Answered

Bug in handling inline assembly in C Compiler

Question asked by pgo on Mar 13, 2009
Latest reply on May 16, 2009 by pgo
Am I correct in thinking that the inline assembler has a problem with the '*' (current location) symbol?

Please compare the original code appearing in the left window and the disassembled code in the right-hand window. The two brclr instructions should be the same I think?

The assembler handles :

label: brclr bitnumber,ea,label

correctly

but has problems with the value of '*' in

brclr bitnumber,ea,*+0

Can anyone cast light on this?

Compiler V6.21
Target MC9S08JM60

Thanks

Outcomes