Assembler Messages
Message Codes
MCUez HC12 Assembler User’s Manual
MOTOROLA Assembler Messages 295
12.3.56 A12104: Immediate Value Expected
Type: Error
Description: The immediate addressing mode is expected at that position.
Usually, this error message is generated when the mask
specified in a BRCLR or BRSET instruction is not preceded by
the immediate character (#).
Example:
maskValue: EQU $40
BSCT
var: DS.B 1
CodeSec: SECTION
entry:
LDD #4567
BRCLR var, maskValue, endCode
endCode:
END
Tip: Insert the immediate character (#) at the requested position to
change to the immediate addressing mode.
Example:
maskValue: EQU $40
BSCT
var: DS.B 1
CodeSec: SECTION
entry:
LDD #4567
BRCLR var, #maskValue, endCode
endCode:
END