English
Language : 

W741C260 Datasheet, PDF (68/92 Pages) Winbond – 4-BIT MICROCONTROLLER
W741C260
Instruction set table 2, continued
MOV PM2, #I
RB port independent Input/Output control
Machine Code:
01010111
1 0 0 0 I3 I2 I1 I0
Machine Cycle:
Operation:
1
Input/output control of 4 RB port pins is independent.
Description:
MOV R, ACC
Machine Code:
I0 = 0: RB.0 is output pin; I0 = 1: RB.0 is input pin.
I1 = 0: RB.1 is output pin; I1 = 1: RB.1 is input pin.
I2 = 0: RB.2 is output pin; I2 = 1: RB.2 is input pin.
I3 = 0: RB.3 is output pin; I3 = 1: RB.3 is input pin.
Default condition RB port is input mode (PM2 = 1111B).
Move ACC contents to R
01011001
1 R6 R5 R4 R3 R2 R1 R0
Machine Cycle:
Operation:
1
R ← (ACC)
Description:
MOVA R, RA
Machine Code:
The contents of the ACC are loaded to the data memory location
addressed by R6 to R0.
Input RA port data to ACC & R
01011011
0 R6 R5 R4 R3 R2 R1 R0
Machine Cycle:
Operation:
Description:
Flag Affected:
1
ACC , R ← [RA]
The data on port RA are loaded into the data memory location addressed
by R6 to R0 and the ACC.
ZF
- 68 -