English
Language : 

W741C260 Datasheet, PDF (87/92 Pages) Winbond – 4-BIT MICROCONTROLLER
W741C260
Instruction Set Table 2, continued
SUB WR , #I
Subtract immediate data from WR
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
SUBR R, ACC
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
SUBR WR , #I
Machine Code:
Machine Cycle:
Operation:
Description:
Flag Affected:
00011110
I3 I2 I1 I0 W3 W2 W1 W0
1
ACC ← (WR) - I
The immediate data I are binary subtracted from the contents of the WR
and the result is loaded into the ACC.
CF & ZF
Subtract ACC from R
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
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
- 87 -
Publication Release Date: March 1998
Revision A3