gc41c501g1-so24i CORERIVER Semiconductor, gc41c501g1-so24i Datasheet - Page 53

no-image

gc41c501g1-so24i

Manufacturer Part Number
gc41c501g1-so24i
Description
4-bit Microcontrollers With Reduced 8051 Architecture
Manufacturer
CORERIVER Semiconductor
Datasheet
RET
SETB C
Appendix A : Instruction Set (18/19)
Binary Code
Binary Code
Description
Description
Carry Flag
Carry Flag
Operation
Operation
Example
Example
Cycles
Cycles
Bytes
Bytes
Returns from subroutine.
The stack pointer is decremented three times.
(PC
(SP) ← (SP) - 1
(PC
(SP) ← (SP) - 1
(PC
(SP) ← (SP) - 1
Not affected.
1
2
RET
Sets the carry flag.
(C) ← 1
1
1
SETB C
1001
0000
11-8
7-4
3-0
) ← M[SP]
) ← M[SP]
) ← M[SP]
0000
0001
RRC A
SETB @L
Binary Code
Binary Code
Description
Description
Carry Flag
Carry Flag
Operation
Operation
Example
Example
Cycles
Cycles
Bytes
Bytes
Rotates right the contents of ACC with the carry
flag.
(A) ← {(C), (A
(C) ← (A
1
1
RRC A
JC A0_HIGH ; IF A
Sets the indirect function flag
addressed by DPL.
F[L] ← 1
Not affected.
1
1
; Assumes P2 contains 0.
MOV L, #1
SETB @L
MOV A, #2
CJNE A, P2, .
0000
1000
ATOM1.0 Family
0
)
1111
0111
3-1
)}
0
= 1 Branches
; (L) ← 1
; Wait until P2.1 is 1.
; (A) ← 2
; P2.1 ← 1
Preliminary
[53]

Related parts for gc41c501g1-so24i