Epson S1C6S3N2 Technical Manual page 198

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

CHAPTER 5: PERIPHERAL CIRCUITS (LCD Driver)
Table look-up
Data table
II-52
"DSCG" converts the address of the steps for writing into
segment data memory the characters in the data table that
correspond to the values of registers A and B (which have
been set by the parent routine). Then it jumps to this ad-
dress with the JPBA instruction.
The PSET instruction is inserted immediately before the first
half of the JPBA instruction, so that the table look-up is on
the same page as the parent routine, and the data table part
is on a different page.
DSCG:
ADD
ADC
PSET
JPBA
The data table begins at the start address of the page in
which it is placed. The segment memory can be written to
in such a way that numerals "0" to "9" and letters "A" to "F"
and " " (single-figure space) can be displayed. A character
can be generated by combining LBPX instruction and RETD
instruction.
Further, expansion from " " (single-figure space) can be done
according to the rule below for setting the values of the A
and B registers.
EPSON
A,A
;
Set to jump to A and B
B,B
;
DSCGTB
;
Jump to table and form subroutine
;
S1C6S3N2 TECHNICAL SOFTWARE

Advertisement

Table of Contents
loading

Table of Contents