Motorola HC12 Manuel D’Utilisation
![Motorola](https://files.manualsbrain.com/attachments/83de88ba2280e7232128e8931d7cbd2a38dcc654/common/fit/150/50/0293f422c4d32e7e0f777d5e11bc33c83ea5627f71ddf155374c02a23d9a/brand_logo.png)
User’s Manual
MCUez HC12 Assembler
310
Assembler Messages
MOTOROLA
Assembler Messages
12.3.70 A12411:Restriction: Label Specified in a DBNE, DBEQ, IBNE, IBEQ, TBNE, or
TBEQ Instruction Should Be Defined in the Same Section They Are Used
Type:
Error
Description:
An external symbol or a symbol defined in another section has
been detected in a DBNE, DBEQ, IBNE, IBEQ, TBNE, or
TBEQ instruction.
been detected in a DBNE, DBEQ, IBNE, IBEQ, TBNE, or
TBEQ instruction.
This is not allowed in a relocatable section.
Example:
dataSec: SECTION
data: DS.W 1
codeSec0: SECTION
label:
NOP
NOP
codeSec1: SECTION
entry:
DBNE A, label
Tip:
Merge the sections containing the symbol and instruction or
change the instruction to an instruction that supports the 16-bit
indexed PC relative addressing mode.
change the instruction to an instruction that supports the 16-bit
indexed PC relative addressing mode.
Example of merging sections:
dataSec: SECTION
data: DS.W 1
codeSec0: SECTION
label:
NOP
NOP
entry:
DBNE A, label
Example of changing instruction:
dataSec: SECTION
data: DS.W 1
codeSec0: SECTION
label:
NOP
NOP
codeSec1: SECTION
entry:
DECA
BNE label