Samsung KS57C2308 Manual page 81

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
OPCODE DEFINITIONS
Table 5-7. Opcode Definitions (Direct)
Register
A
E
L
H
X
W
Z
Y
EA
HL
WX
YZ
r = Immediate data for register
CALCULATING ADDITIONAL MACHINE CYCLES FOR SKIPS
A machine cycle is defined as one cycle of the selected CPU clock. Three different clock rates can be selected
using the PCON register.
In this document, the letter "S" is used in tables when describing the number of additional machine cycles
required for an instruction to execute, given that the instruction has a skip function ("S" = skip). The addition
number of machine cycles that will be required to perform the skip usually depends on the size of the instruction
being skipped — whether it is a 1-byte, 2-byte, or 3-byte instruction. A skip is also executed for SMB and SRB
instructions.
The values in additional machine cycles for "S" for the three cases in which skip conditions occur are as follows:
Case 1: No skip
Case 2: Skip is 1-byte or 2-byte instruction
Case 3: Skip is 3-byte instruction
NOTE: REF instructions are skipped in one machine cycle.
r2
r1
r0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
0
0
0
0
1
0
1
0
0
1
1
0
Table 5-8. Opcode Definitions (Indirect)
Register
@HL
@WX
@WL
i = Immediate data for indirect addressing
S = 0 cycles
S = 1 cycle
S = 2 cycles
SAM47 INSTRUCTION SET
i2
i1
i0
1
0
1
1
1
0
1
1
1
5-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents