Assembler Syntax
Source Line
MCUez HC12 Assembler User’s Manual
MOTOROLA Assembler Syntax 123
CLV Clear two’s complement overflow bit
CMPA Compare memory with accumulator A
CMPB Compare memory with accumulator B
COM One’s complement on memory location
COMA One’s complement on accumulator A
COMB One’s complement on accumulator B
CPD Compare accumulator D and memory
CPS Compare register SP and memory
CPX Compare register X and memory
CPY Compare register Y and memory
DAA Decimal adjust accumulator A
DBEQ Decrement counter and branch if null
DBNE Decrement counter and branch if not null
DEC Decrement memory location
DECA Decrement accumulator A
DECB Decrement accumulator B
DES Decrement register SP
DEX Decrement index register X
DEY Decrement index register Y
EDIV Unsigned division 32-bits/16 bits
EDIVS Signed division 32-bits/16 bits
EMACS Multiply and accumulate signed
EMAXD Get maximum of 2 unsigned integers in accumulator D
EMAXM Get maximum of 2 unsigned integers in memory
EMIND Get minimum of 2 unsigned integers in accumulator D
EMINM Get minimum of 2 unsigned integers in memory
EMUL 16-bit * 16-bit multiplication (unsigned)
EMULS 16-bit * 16-bit multiplication (signed)
Table 7-1. Executable Instructions (Sheet 3 of 8)
Instruction Description