- ALU instructions
- These instructions only
used registers/constants as
source/destination operands
Instruction format:
OPER Src-Reg1, Src-Reg2, Dest-Reg
OPER Src-Rge1, Constant, Dest-Reg
|
- Examples:
ADD R3, R1, R2 // R3 = R1 + R2
SUB R3, R1, #2 // R3 = R1 - 2
|
|
- Memory instructions
- BRANCH instructions
- These instructions
updates the
program counter (PC)
Instruction format:
BRA label
BEQ label
BNE label
etc....
|
Note:
|
|