Central processing unit (CPU)
ST10F276E
6.2
Instruction set summary
Table 38 lists the instructions of the ST10F276E. The detailed description of each
instruction can be found in the “ST10 Family Programming Manual”.
Table 38. Standard instruction set summary
Mnemonic
ADD(B)
Description
Bytes
Add word (byte) operands
2 / 4
2 / 4
2 / 4
2 / 4
2
ADDC(B)
SUB(B)
SUBC(B)
MUL(U)
DIV(U)
Add word (byte) operands with Carry
Subtract word (byte) operands
Subtract word (byte) operands with Carry
(Un)Signed multiply direct GPR by direct GPR (16-16-bit)
(Un)Signed divide register MDL by direct GPR (16-/16-bit)
(Un)Signed long divide reg. MD by direct GPR (32-/16-bit)
Complement direct word (byte) GPR
Negate direct word (byte) GPR
2
DIVL(U)
CPL(B)
2
2
NEG(B)
AND(B)
OR(B)
2
Bit-wise AND, (word/byte operands)
Bit-wise OR, (word/byte operands)
Bit-wise XOR, (word/byte operands)
Clear direct bit
2 / 4
2 / 4
2 / 4
2
XOR(B)
BCLR
BSET
Set direct bit
2
BMOV(N)
BAND, BOR, BXOR
BCMP
Move (negated) direct bit to direct bit
AND/OR/XOR direct bit with direct bit
Compare direct bit to direct bit
4
4
4
Bit-wise modify masked high/low byte of bit-addressable direct word
memory with immediate data
BFLDH/L
4
CMP(B)
Compare word (byte) operands
2 / 4
2 / 4
2 / 4
CMPD1/2
CMPI1/2
Compare word data to GPR and decrement GPR by 1/2
Compare word data to GPR and increment GPR by 1/2
Determine number of shift cycles to normalize direct word GPR and
store result in direct word GPR
PRIOR
2
SHL / SHR
ROL / ROR
ASHR
Shift left/right direct word GPR
2
2
Rotate left/right direct word GPR
Arithmetic (sign bit) shift right direct word GPR
Move word (byte) data
2
MOV(B)
2 / 4
2 / 4
2 / 4
4
MOVBS
Move byte operand to word operand with sign extension
Move byte operand to word operand with zero extension
Jump absolute/indirect/relative if condition is met
Jump absolute to a code segment
MOVBZ
JMPA, JMPI, JMPR
JMPS
4
74/235
Doc ID 12303 Rev 3