ST10F168
6.1 - Instruction Set Summary
The Table 8 lists the instructions of the ST10F168.
The various addressing modes, instruction opera-
tion, parameters for conditional execution of
Table 8 : Instruction set summary
instructions, opcodes and a detailed description of
each instruction can be found in the “ST10 Family
Programming Manual”.
Mnemonic
ADD(B)
ADDC(B)
SUB(B)
SUBC(B)
MUL(U)
DIV(U)
DIVL(U)
CPL(B)
NEG(B)
AND(B)
OR(B)
XOR(B)
BCLR
BSET
BMOV(N)
BAND, BOR, BXOR
BCMP
BFLDH/L
CMP(B)
CMPD1/2
CMPI1/2
PRIOR
SHL/SHR
ROL/ROR
ASHR
MOV(B)
MOVBS
MOVBZ
JMPA, JMPI, JMPR
JMPS
J(N)B
JBC
Description
Bytes
Add Word (Byte) operands
2/4
Add Word (Byte) operands with Carry
2/4
Subtract Word (Byte) operands
2/4
Subtract Word (Byte) operands with Carry
2/4
(Un)Signed multiply direct GPR by direct GPR (16 x 16-bit)
2
(Un)Signed divide register MDL by direct GPR (16 / 16-bit)
2
(Un)Signed long divide register MD by direct GPR (32 / 16-bit)
2
Complement direct Word (Byte) GPR
2
Negate direct Word (Byte) GPR
2
Bitwise AND, (Word / Byte operands)
2/4
Bitwise OR, (Word / Byte operands)
2/4
Bitwise XOR, (Word / Byte operands)
2/4
Clear direct bit
2
Set direct bit
2
Move (negated) direct bit to direct bit
4
AND / OR / XOR direct bit with direct bit
4
Compare direct bit to direct bit
4
Bitwise modify masked high / low Byte of bit-addressable direct Word memory with 4
immediate data
Compare Word (Byte) operands
2/4
Compare Word data to GPR and decrement GPR by 1/2
2/4
Compare Word data to GPR and increment GPR by 1/2
2/4
Determine number of shift cycles to normalize direct Word GPR and store result in 2
direct Word GPR
Shift left / right direct Word GPR
2
Rotate left / right direct Word GPR
2
Arithmetic (sign bit) shift right direct Word GPR
2
Move Word (Byte) data
2/4
Move Byte operand to Word operand with sign extension
2/4
Move Byte operand to Word operand. with zero extension
2/4
Jump absolute / indirect / relative if condition is met
4
Jump absolute to a code segment
4
Jump relative if direct bit is (not) set
4
Jump relative and clear bit if direct bit is set
4
20/74