English
Language : 

EM73461B Datasheet, PDF (13/40 Pages) ELAN Microelectronics Corp – 4-BIT MICRO-CONTROLLER FOR LCD PRODUCT
EXAMPLE:
Operation
8-4=4
7-F= -8(1000)
9-9=0
EM73461B
4-BIT MICRO-CONTROLLER FOR LCD PRODUCT
Preliminary
Carry Zero
1
0
0
0
1
1
(3) Rotation:
There are two kinds of rotation operation, one is rotation left, the other is rotation right.
RLCA instruction rotates Acc value to left, shift the CF value into the LSB bit of Acc and the shift out data
will be hold in CF.
MSB LSB
ACC
CF
RRCA instruction operation rotates Acc value to right, shift the CF value into the MSB bit of Acc and the
shift out data will be hold in CF.
MSB LSB
ACC
CF
PROGRAM EXAMPLE: To rotate Acc right and shift a "1" into the MSB bit of Acc.
TTCFS; CF ← 1
RRCA; rotate Acc right and shift CF=1 into MSB.
HL REGISTER
HL register are two 4-bit registers, they are used as a pair of pointer for the address of RAM memory and also
2 independent temporary 4-bit data registers. For some instruction, L register can be a pointer to indicate the
pin number ( Port4 ).
HL REGISTER STRUCTURE
3210 3210
H REGISTER L REGISTER
HL REGISTER FUNCTION
* This specification are subject to be changed without notice.
12.26.2001 13