English
Language : 

W77L32 Datasheet, PDF (27/76 Pages) Winbond – 8-BIT MICROCONTROLLER
W77L32/W77L032A/W77M032A
7. INSTRUCTION
The W77L032 executes all the instructions of the standard 8032 family. The operation of these
instructions, their effect on the flag bits and the status bits is exactly the same. However, timing of
these instructions is different. The reason for this is two fold. Firstly, in the W77L032, each machine
cycle consists of 4 clock periods, while in the standard 8032 it consists of 12 clock periods. Also, in the
W77L032 there is only one fetch per machine cycle i.e. 4 clocks per fetch, while in the standard 8032
there can be two fetches per machine cycle, which works out to 6 clocks per fetch.
The advantage the W77L032 has is that since there is only one fetch per machine cycle, the number of
machine cycles in most cases is equal to the number of operands that the instruction has. In case of
jumps and calls there will be an additional cycle that will be needed to calculate the new address. But
overall the W77L032 reduces the number of dummy fetches and wasted cycles, thereby improving
efficiency as compared to the standard 8032.
Table 2. Instructions that affect Flag settings
INSTRUCTION
ADD
CARRY
X
OVERFLOW
X
AUXILIARY
CARRY
X
INSTRUCTION
CLR C
CARRY OVERFLOW
0
ADDC
X
X
X
CPL C
X
SUBB
MUL
X
X
0
X
X
ANL C, bit
X
ANL C, bit
X
DIV
0
X
ORL C, bit
X
DA A
X
RRC A
X
ORL C, bit
X
MOV C, bit
X
RLC A
X
CJNE
X
SETB C
1
A "X" indicates that the modification is as per the result of instruction.
Table 3. Instruction Timing for W77L032
AUXILIARY
CARRY
INSTRUCTION
NOP
ADD A, R0
ADD A, R1
ADD A, R2
ADD A, R3
ADD A, R4
ADD A, R5
ADD A, R6
ADD A, R7
HEX
OP-CODE
00
28
29
2A
2B
2C
2D
2E
2F
BYTES
1
1
1
1
1
1
1
1
1
W77L032
MACHINE
CYCLES
1
1
1
1
1
1
1
1
1
W77L032
CLOCK
CYCLES
4
4
4
4
4
4
4
4
4
8032
CLOCK
CYCLES
12
12
12
12
12
12
12
12
12
W77L032
VS.8032
SPEED RATIO
3
3
3
3
3
3
3
3
3
- 27 -
Publication Release Date: April 17, 2007
Revision A6