English
Language : 

W741E260 Datasheet, PDF (88/94 Pages) Winbond – 4-BIT FLASH MICROCONTROLLER
W741E260
Instruction Set Table 2, continued
SHLC R
SHift Left R with CF and LSB = 0
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
SHRC R
01001100
0 R6 R5 R4 R3 R2 R1 R0
1
ACC.n, R.n ← (R.n-1); ACC.0, R.0 ← 0; CF ← R.3
The contents of the ACC and the data memory location addressed by R6 to
R0 are shifted left one bit, but bit 3 is shifted into CF, and bit 0 (LSB) is
replaced with "0." The same contents are loaded into the ACC.
CF & ZF
SHift Right R with CF and MSB = 0
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
01001101
0 R6 R5 R4 R3 R2 R1 R0
1
ACC.n, R.n ← (R.n+1); ACC.3, R.3 ← 0; CF ← R.0
The contents of the ACC and the data memory location addressed by R6 to
R0 are shifted right one bit, but bit 0 is shifted into CF, and bit 3 (MSB) is
replaced with "0." The same contents are loaded into the ACC.
CF & ZF
SKB0 R
If bit 0 of R is equal to 1 then skip
Machine Code:
Machine Cycle:
Operation:
Description:
10001000
0 R6 R5 R4 R3 R2 R1 R0
1
PC ← (PC) + 2; if R.0 = 1“1”
If bit 0 of R is equal to 1, the program counter is incremented by 2 and a
skip is produced. If bit 0 of R is not equal to 1, the program counter (PC) is
incremented.
- 88 -