Local labels when porting 68HC11 code to HCS12

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Local labels when porting 68HC11 code to HCS12

422 Views
micmed
Contributor I

Hello,

I have some ancient 68HC11 code I am supposed to be migrating to something not end of life. I settled on the MC9S12A32CFUE and have set up an environment using CodeWarrior 5.2 with a modification to support this derivative (refer to: thread#585450).

 

This old code makes use of "dollar local labels" very often, and I have not been able to find an equivalent replacement that is accepted by the CW5.2 assembler. My question is, does this feature exist in the CW5.2 assembler, and if not, is there an equivalent implementation?

Example of syntax:

MAIN

    NOP

    NOP

    BRA    1$

1$

    NOP

    NOP

 

Thank you.

0 Kudos
Reply
1 Reply

355 Views
danielmartynek
NXP TechSupport
NXP TechSupport
0 Kudos
Reply