Basic Architecture
MOTOROLA MC68EZ328 USERÕS MANUAL 1-5
1.1.3 EC000 Instruction Set
The EC000 core instruction set supports high-level languages that facilitate programming.
Almost every instruction operates on bytes, words, and long-words, and most of them can
use any of the 14 address modes. By combining instruction types, data types, and address
modes, you can have access to over 1,000 instructions. These instructions include signed
and unsigned, multiply and divide, quick arithmetic operations, binary-coded decimal (BCD)
arithmetic, and expanded operations (through traps).
Table 1-2. Instruction Set
MNEMONIC DESCRIPTION MNEMONIC DESCRIPTION
ABCD Add decimal with extend MOVEM Move multiple registers
ADD Add MOVEP Move peripheral data
ADDA Add address MOVEQ Move quick
ADDQ Add quick MOVE from SR Move from status register
ADDI Add immediate MOVE to SR Move to status register
ADDX Add with extend MOVE to CCR Move to condition codes
AND Logical AND MOVE USP Move user stack pointer
ANDI AND immediate MULS Signed multiply
ANDI to CCR AND immediate to condition codes MULU Unsigned multiply
ANDI to SR AND immediate to status register NBCD Negate decimal with extend
ASL Arithmetic shift left NEG Negate
ASR Arithmetic shift right NEGX Negate with extend
Bcc Branch conditionally NOP No operation
BCHG Bit test and change NOT Ones complement
BCLR Bit test and clear OR Logical OR
BRA Branch always ORI OR immediate
BSET Bit test and set ORI to CCR OR immediate to condition codes
BSR Branch to subroutine ORI to SR OR immediate to status register
BTST Bit test PEA Push effective address
CHK Check register against bounds RESET Reset external devices
CLR Clear operand ROL Rotate left without extend
CMP Compare ROR Rotate right without extend
CMPA Compare address ROXL Rotate left with extend
CMPM Compare memory ROXR Rotate right with extend
CMPI Compare immediate RTE Return from exception
DBcc Test cond, decrement and branch RTR Return and restore
DIVS Signed divide RTS Return from subroutine
DIVU Unsigned divide SBCD Subtract decimal with extend