Samsung KS57C2308 Manual page 83

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
Name
Operand
SCF
RCF
CCF
EI
DI
IDLE
STOP
NOP
SMB
n
SRB
n
REF
memc
VENTn
EMB (0,1)
ERB (0,1)
ADR
Table 5-10. Program Control Instructions — High-Level Summary
Name
Operand
CPSE
R,#im
@HL,#im
A,R
A,@HL
EA,@HL
EA,RR
JP
ADR14
JPS
ADR12
JR
#im
@WX
@EA
CALL
ADR14
CALLS
ADR11
RET
IRET
SRET
Table 5-9. CPU Control Instructions — High-Level Summary
Set carry flag to logic one
Reset carry flag to logic zero
Complement carry flag
Enable all interrupts
Disable all interrupts
Engage CPU idle mode
Engage CPU stop mode
No operation
Select memory bank
Select register bank
Reference code
Load enable memory bank flag (EMB) and the enable
register bank flag (ERB) and program counter to vector
address, then branch to the corresponding location
Compare and skip if register equals #im
Compare and skip if indirect data memory equals #im
Compare and skip if A equals R
Compare and skip if A equals indirect data memory
Compare and skip if EA equals indirect data memory
Compare and skip if EA equals RR
Jump to direct address (14 bits)
Jump direct in page (12 bits)
Jump to immediate address
Branch relative to WX register
Branch relative to EA
Call direct in page (14 bits)
Call direct in page (11 bits)
Return from subroutine
Return from interrupt
Return from subroutine and skip
Operation Description
Operation Description
SAM47 INSTRUCTION SET
Bytes
Cycles
1
1
1
1
1
1
2
2
2
2
2
2
2
2
1
1
2
2
2
2
1
1
2
2
Bytes
Cycles
2
2 + S
2
2 + S
2
2 + S
1
1 + S
2
2 + S
2
2 + S
3
3
2
2
1
2
2
3
2
3
3
4
2
3
1
3
1
3
1
3 + S
5-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents