AnsweredAssumed Answered

C Labels Recognized by Inline Assembly

Question asked by Peter Magoun on Dec 27, 2015
Latest reply on Jan 6, 2016 by Peter Magoun

C Labels Recognized
by Inline Assembly

 

OS - WIN7

CW 6.3

Target -
S08GB60

 

My project
is mostly written in C with just a few snippets of inline assembly sprinkled
throughout the C.  At this point I am
trying to add a few lines of inline assembly which concludes with a jump (jmp
instruction) to a label in the C code.
When I attempt compile the code, I get an error message indicating that
the label is not set.  It appears that
the assembly code is not aware of the label in the C code. Is there a way I can
make the inline assembly code aware of the C label? 

 

Thanks for
any help which can be supplied.

 

Pete 

Outcomes