English
Language : 

W741E260 Datasheet, PDF (91/94 Pages) Winbond – 4-BIT FLASH MICROCONTROLLER
W741E260
Instruction Set Table 2, continued
SUBR R, ACC
Subtract ACC from R
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
SUBR WR, #I
0 0011011
0 R6 R5 R4 R3 R2 R1 R0
1
ACC, R ← (R) - (ACC)
The contents of the ACC are binary subtracted from the contents of the data
memory location addressed by R6 to R0 and the result is placed in the ACC
and the data memory.
CF & ZF
Subtract immediate data from WR
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
00011111
I3 I2 I1 I0 W3 W2 W1 W0
1
ACC, WR ← (WR) - I
The immediate data I are binary subtracted from the contents of the WR
and the result is placed in the ACC and the WR.
CF & ZF
XRL R, ACC
Exclusive OR R to ACC
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
00111000
0 R6 R5 R4 R3 R2 R1 R0
1
ACC ← (R) EX (ACC)
The contents of the data memory location addressed by R6 to R0 and the
ACC are exclusive-ORed and the result is loaded into the ACC.
ZF
- 91 -
Publication Release Date: March 1998
Revision A2