English
Language : 

W741E260 Datasheet, PDF (85/94 Pages) Winbond – 4-BIT FLASH MICROCONTROLLER
W741E260
Instruction Set Table 2, continued
RLC
R
Rotate Left R with CF
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
01001100
1 R6 R5 R4 R3 R2 R1 R0
1
ACC.n, R.n ← (R.n-1); ACC.0, R.0 ← CF; CF ← R.3
The contents of the ACC and the data memory location addressed by R6 to
R0 are rotated left one bit, bit 3 is rotated into CF, and CF rotated into bit 0
(LSB). The same contents are loaded into the ACC.
CF & ZF
RRC
R
Rotate Right R with CF
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
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
RTN
Return from subroutine
Machine Code:
Machine Cycle:
Operation:
Description:
00000001
00000000
1
(PC) ← STACK
The program counter (PC10 to PC0) is restored from the stack. A return
from a subroutine occurs.
- 85 -
Publication Release Date: March 1998
Revision A2