KS57C2308/P2308/C2316/P2316
SAM47 INSTRUCTION SET
5-15
Table 5-16. Program Control Instructions — Binary Code Summary
Name
Operand
Binary Code
Operation Notation
CPSE
R,#im
1
1
0
1
1
0
0
1
Skip if R = im
d3
d2
d1
d0
0
r2
r1
r0
@HL,#im
1
1
0
1
1
1
0
1
Skip if (HL) = im
0
1
1
1
d3
d2
d1
d0
A,R
1
1
0
1
1
1
0
1
Skip if A = R
0
1
1
0
1
r2
r1
r0
A,@HL
0
0
1
1
1
0
0
0
Skip if A = (HL)
EA,@HL
1
1
0
1
1
1
0
0
Skip if A = (HL), E = (HL+1)
0
0
0
0
1
0
0
1
EA,RR
1
1
0
1
1
1
0
0
Skip if EA = RR
1
1
1
0
1
r2
r1
0
JP
ADR14
1
1
0
1
1
0
1
1
PC13–0
←
ADR13–0
0
0
a13
a12
a11
a10
a9
a8
a7
a6
a5
a4
a3
a2
a1
a0
JPS
ADR12
1
0
0
1
a11
a10
a9
a8
PC13–0
←
PC13–12 + ADR11–0
a7
a6
a5
a4
a3
a2
a1
a0
JR
#im
*
PC13–0
←
ADR (PC–15 to PC+16)
@WX
1
1
0
1
1
1
0
1
PC13–0
←
PC13–8 + (WX)
0
1
1
0
0
1
0
0
@EA
1
1
0
1
1
1
0
1
PC13–0
←
PC13–8 + (EA)
0
1
1
0
0
0
0
0
CALL
ADR14
1
1
0
1
1
0
1
1
[(SP–1) (SP–2)]
←
EMB, ERB
0
1
a13
a12
a11
a10
a9
a8
[(SP–3) (SP–4)]
←
PC7–0
[(SP–5) (SP–6)]
←
PC13–8
a7
a6
a5
a4
a3
a2
a1
a0
PC13–0
←
ADR13–0
(SP)
←
(SP)–6
CALLS
ADR11
1
1
1
0
1
a10
a9
a8
[(SP–1) (SP–2)]
←
EMB, ERB
[(SP–3) (SP–4)]
←
PC7–0
[(SP–5) (SP–6)]
←
PC10–8
a7
a6
a5
a4
a3
a2
a1
a0
PC13–11
←
00
PC10–0
←
ADR10–0
(SP)
←
(SP)–6
First Byte
Condition
*
JR #im
0
0
0
1
a3
a2
a1
a0
PC
←
PC+2 to PC+16
0
0
0
0
a3
a2
a1
a0
PC
←
PC–1 to PC–15
Содержание C2316
Страница 30: ...ADDRESS SPACES KS57C2308 P2308 C2316 P2316 2 22 NOTES ...
Страница 168: ...SAM47 INSTRUCTION SET KS57C2308 P2308 C2316 P2316 5 94 NOTES ...
Страница 170: ......
Страница 206: ...POWER DOWN KS57C2308 P2308 C2316 P2316 8 8 NOTES ...
Страница 210: ...RESET KS57C2308 P2308 C2316 P2316 9 4 NOTES ...
Страница 222: ...I O PORTS KS57C2308 P2308 C2316 P2316 10 12 NOTES ...
Страница 272: ...LCD CONTROLLER DRIVER KS57C2308 P2308 C2316 P2316 12 24 NOTES ...
Страница 280: ...SERIAL I O INTERFACE KS57C2308 P2308 C2316 P2316 13 8 NOTES ...
Страница 294: ...MECHANICAL DATA KS57C2308 P2308 C2316 P2316 15 2 NOTES ...
Страница 310: ...KS57P2308 P2316 OTP KS57C2308 P2308 C2316 P2316 16 16 NOTES ...
Страница 318: ......
Страница 320: ......
Страница 322: ......
Страница 325: ......
Страница 327: ......