English
Language : 

EPVP6800 Datasheet, PDF (13/47 Pages) ELAN Microelectronics Corp – VFD Controller
ePVP6800
VFD Controller
7.2 Operation Registers Description
7.2.1 R0 (Indirect Address Register)
R0 is not a physically implemented register. It is used as indirect address pointer. Any instruction
using R0 as register actually accesses data pointed by the RAM Select Register (R4).
Example:
Mov A, @0x20
Mov 0x04, A
Mov A, @0xAA
Mov 0x00, A
;store an address at R4 for indirect address
;write data 0xAA to R20 at Bank0 through R0
7.2.2 R1 (TCC)
TCC data buffer. Increased by 16.384KHz or by the instruction cycle clock (controlled by CONT
register).
Written and read by the program as any other register.
7.2.3 R2 (Program Counter)
The structure is depicted in Fig.3 below.
Generates 2k × 13 external ROM addresses to the relative programming instruction codes.
"JMP" instruction allows the direct loading of the low 10 program counter bits.
"CALL" instruction loads the low 10 bits of the PC, PC+1, and then push into the stack.
"RET'' ("RETL k," "RETI") instruction loads the program counter with the contents at the top of stack.
"MOV R2, A" allows the loading of an address from the A register to the PC, and the ninth and tenth
bits are cleared to "0''.
"ADD R2, A" allows a relative address to be added to the current PC, and contents of the ninth and
tenth bits are cleared to "0''.
R5(PAGE)
CALL and
INTERRUPT
PC A13 A12 A11 A10
A9 A8 A7~A0
0000 PAGE0 0000~03FF
0001 PAGE1 0400~07FF
RET
RETL
RETI
STACK1
STACK2
STACK3
STACK4
STACK5
STACK6
STACK7
STACK8
STACK9
STACK10
STACK11
STACK12
STACK13
STACK14
STACK15
STACK16
INTERRUPT
ACC,R3,R5(PAGE)
restore store
3 bytes register
Fig. 3 Program Counter Organization
"TBL" allows a relative address to be added to the current PC, and the contents of the ninth and tenth
bits do not change. The most significant bit (A10~A13) will be loaded with the contents of bit
This specification is subject to change without further notice.
11.28.2004 (V123) 7 of 47