English
Language : 

W741L250 Datasheet, PDF (76/86 Pages) Winbond – 4-BIT MICROCONTROLLER
W741L250
Instruction Set Table 2, continued
RRC
R
Rotate Right R with CF
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
RTN
01001101
1 R6 R5 R4 R3 R2 R1 R0
1
ACC.n, R.n ← R.n+1; ACC.3, R.3 ← CF; CF ← R.0
The contents of the ACC and the data memory location addressed by R6 to
R0 are rotated right one bit, bit 0 is rotated into CF, and CF is rotated into
bit 3 (MSB). The same contents are loaded into the ACC.
CF & ZF
Return from subroutine
Machine Code:
Machine Cycle:
Operation:
Description:
SBC R, ACC
00000001
00000000
1
(PC) ← STACK
The program counter (PC10 to PC0) is restored from the stack. A return
from a subroutine occurs.
Subtract ACC from R with Borrow
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
0 0001010
0 R6 R5 R4 R3 R2 R1 R0
1
ACC ← (R) - (ACC) - (CF)
The contents of the ACC and CF are binary subtracted from the contents of
the data memory location addressed by R6 to R0 and the result is loaded
into the ACC.
CF & ZF
- 76 -