User’s Manual MCUez HC12 Assembler
306 Assembler Messages MOTOROLA
Assembler Messages
For increment and branch: For test and branch:
Example: DataSec: SECTION
var1: DS.W 1
var2: DS.W 10
CodeSec: SECTION
LDX #var2
label: LDD var1
CLR 1, X+
dummyBl: DCB.B 260, $A7
SUBD #1
LBNE label
IFCC Condition
IBNE D, label ADDD #1
LBNE label
IBNE A, label INCA
LBNE label
IBNE B, label INCB
LBNE label
IBNE X, label INX
LBNE label
IBNE Y, label INY
LBNE label
IBNE S, label INS
LBNE label
IFCC Condition
TBNE D, label CPD #1
LBNE label
TBNE A, label TSTA
LBNE label
TBNE B, label TSTB
LBNE label
TBNE X, label CPX #1
LBNE label
TBNE Y, label CPY #1
LBNE label
TBNE S, label CPS #1
LBNE label