Samsung KS57C2308 Manual page 85

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
Name
Operand
AND
A,#im
A,@HL
EA,RR
RRb,EA
OR
A, #im
A, @HL
EA,RR
RRb,EA
XOR
A,#im
A,@HL
EA,RR
RRb,EA
COM
A
Name
Operand
ADC
A,@HL
EA,RR
RRb,EA
ADS
A, #im
EA,#imm
A,@HL
EA,RR
RRb,EA
SBC
A,@HL
EA,RR
RRb,EA
SBS
A,@HL
EA,RR
RRb,EA
DECS
R
RR
INCS
R
DA
@HL
RRb
Table 5-12. Logic Instructions — High-Level Summary
Logical-AND A immediate data to A
Logical-AND A indirect data memory to A
Logical-AND register pair (RR) to EA
Logical-AND EA to register pair (RRb)
Logical-OR immediate data to A
Logical-OR indirect data memory contents to A
Logical-OR double register to EA
Logical-OR EA to double register
Exclusive-OR immediate data to A
Exclusive-OR indirect data memory to A
Exclusive-OR register pair (RR) to EA
Exclusive-OR register pair (RRb) to EA
Complement accumulator (A)
Table 5-13. Arithmetic Instructions — High-Level Summary
Add indirect data memory to A with carry
Add register pair (RR) to EA with carry
Add EA to register pair (RRb) with carry
Add 4-bit immediate data to A and skip on carry
Add 8-bit immediate data to EA and skip on carry
Add indirect data memory to A and skip on carry
Add register pair (RR) contents to EA and skip on carry
Add EA to register pair (RRb) and skip on carry
Subtract indirect data memory from A with carry
Subtract register pair (RR) from EA with carry
Subtract EA from register pair (RRb) with carry
Subtract indirect data memory from A; skip on borrow
Subtract register pair (RR) from EA; skip on borrow
Subtract EA from register pair (RRb); skip on borrow
Decrement register (R); skip on borrow
Decrement register pair (RR); skip on borrow
Increment register (R); skip on carry
Increment direct data memory; skip on carry
Increment indirect data memory; skip on carry
Increment register pair (RRb); skip on carry
Operation Description
Operation Description
SAM47 INSTRUCTION SET
Bytes
Cycles
2
2
1
1
2
2
2
2
2
2
1
1
2
2
2
2
2
2
1
1
2
2
2
2
2
2
Bytes
Cycles
1
1
2
2
2
2
1
1 + S
2
2 + S
1
1 + S
2
2 + S
2
2 + S
1
1
2
2
2
2
1
1 + S
2
2 + S
2
2 + S
1
1 + S
2
2 + S
1
1 + S
2
2 + S
2
2 + S
1
1 + S
5-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents