ST62T85B/E85B
5.3 INSTRUCTION SET
The ST6 core offers a set of 40 basic instructions
which, when combined with nine addressing
modes, yield 244 usable opcodes. They can be di-
vided into six different types: load/store, arithme-
tic/logic, conditional branch, control instructions,
jump/call, and bit manipulation. The following par-
agraphs describe the different types.
All the instructions belonging to a given type are
presented in individual tables.
Load & Store. These instructions use one, two or
three bytes in relation with the addressing mode.
One operand is the Accumulator for LOAD and the
other operand is obtained from data memory using
one of the addressing modes.
For Load Immediate one operand can be any of
the 256 data space bytes while the other is always
immediate data.
Table 24. Load & Store Instructions
Instruction
Addressing Mode
Bytes
Cycles
Flags
Z
C
LD A, X
Short Direct
1
4
∆
*
LD A, Y
Short Direct
1
4
∆
*
LD A, V
) LD A, W
t(s LD X, A
c LD Y, A
u LD V, A
d LD W, A
ro LD A, rr
P LD rr, A
te LD A, (X)
le LD A, (Y)
o LD (X), A
s LD (Y), A
b LDI A, #N
O LDI rr, #N
Short Direct
Short Direct
Short Direct
Short Direct
Short Direct
Short Direct
Direct
Direct
Indirect
Indirect
Indirect
Indirect
Immediate
Immediate
) - Notes:
t(s X,Y. Indirect Register Pointers, V & W Short Direct Registers
# . Immediate data (stored in ROM memory)
c rr. Data space register
u ∆. Affected
Obsolete Prod * . Not Affected
1
4
∆
*
1
4
∆
*
1
4
∆
*
1
4
∆
*
1
4
∆
*
1
4
∆
*
2
4
∆
*
2
4
∆
*
1
4
∆
*
1
4
∆
*
1
4
∆
*
1
4
∆
*
2
4
∆
*
3
4
*
*
61/78
61