First page Back Continue Last page Overview Graphics
Assembler Directive: offset
“Offset” is a very bad choice for a label name, since there is an assembler directive “offset”. Trying to redefine assembler directives tends to result in unpredictable results and usually is not allowed by the assembler. If it is allowed, it usually results in the assembler interpreting the label and its mnemonic and operand as arguments to the directive.
(The page shown on the slide is page 249 of the Cosmic Software Cross Compiler Users's Cuide for Motorola MC68HC12, v.4.5, Copyright 2001 by Cosmic Software. This is found on page 263 of the pdf version which can be found in c:\COSMIC\CX12\Docs\6812bk.pdf on the computers in the lab.)