English
Language : 

CD00001237 Datasheet, PDF (58/105 Pages) STMicroelectronics – 8-bit MCUs with A/D converter
ST6215C ST6225C
10.3 INSTRUCTION SET
The ST6 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.
Table 16. Load & Store Instructions
Instruction
Addressing Mode
LD A, X
LD A, Y
LD A, V
LD A, W
LD X, A
LD Y, A
LD V, A
LD W, A
LD A, rr
LD rr, A
LD A, (X)
LD A, (Y)
LD (X), A
LD (Y), A
LDI A, #N
LDI rr, #N
Short Direct
Short Direct
Short Direct
Short Direct
Short Direct
Short Direct
Short Direct
Short Direct
Direct
Direct
Indirect
Indirect
Indirect
Indirect
Immediate
Immediate
Legend:
X, Y Index Registers,
V, W Short Direct Registers
# Immediate data (stored in ROM memory)
rr Data space register
Δ Affected
* Not Affected
Load & Store. These instructions use one, two or
three bytes depending on the addressing mode.
For LOAD, one operand is the Accumulator 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.
Bytes
1
1
1
1
1
1
1
1
2
2
1
1
1
1
2
3
Cycles
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
Flags
Z
C
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
Δ
*
*
*
58/105
1