English
Language : 

W741C260 Datasheet, PDF (67/92 Pages) Winbond – 4-BIT MICROCONTROLLER
W741C260
Instruction Set Table 2, continued
MOV PM0, #I
Set/Reset Port Mode 0 register
Machine Code:
Machine Cycle:
Operation:
Description:
MOV PM1, #I
01010011
0 0 0 0 I3 I2 I1 I0
1
Set/Reset Port mode 0 register
I0 = 0: RA port is CMOS type; I0 = 1: RA port is NMOS type.
I1 = 0: RB port is CMOS type; I1 = 1: RB port is NMOS type.
I2 = 0: RC port pull-high resistor is disabled;
I2 = 1: RC port pull-high resistor is enabled.
I3 = 0: RD port pull-high resistor is disabled;
I3 = 1: RD port pull-high resistor is enabled.
RA port independent Input/Output control
Machine Code:
Machine Cycle:
Operation:
Description:
01010111
0 0 0 0 I3 I2 I1 I0
1
Input/output control of 4 RA port pins is independent.
I0 = 0: RA.0 is output pin; I0 = 1: RA.0 is input pin.
I1 = 0: RA.1 is output pin; I1 = 1: RA.1 is input pin.
I2 = 0: RA.2 is output pin; I2 = 1: RA.2 is input pin.
I3 = 0: RA.3 is output pin; I3 = 1: RA.3 is input pin.
Default condition RA port is input mode (PM = 1111B).
- 67 -
Publication Release Date: March 1998
Revision A3