Nvis 5586A
Nvis Technologies Pvt. Ltd.
81
Example 4:
Check table to display one line of letter.
Address
Opcode
Mnemonic
Comment
0400
B3 C0
MOV
BL,C0
0402
9A 78 F0 00 F0
CALL
F000:F078
CLEAR THE SECOND LINE
0407
B0 C2
MOV
AL,C2
PARAMETER OF SUBPROGRAM
STORED IN AL. B)-B5 IS WRITTEN
INTO LCD ADDRESS COUNTER,
INSTRUCTED THE WORD ON THE
MOST LEFT SIDE. B6 AS 1
REPRESENTS
THE
SECOND
LINE.B7 AS 1 REPRESENTS THE
SET
D.D.
RAM
ADDRESS
INSTRUCTION.
0409
9A 44 F0 00 F0
CALL
F000:F044
COMMANDS IN AL ARE WRITTEN
INTO LCD
040E
0E
PUSH
CS
040F
1F
POP
DS
SEGMENT
VALUE
SET
FOR
TABLE CHECKING
0410
BE 00 06
MOV
SI,600
STARTING ADDRESS OF TABLE
CHECKING IS STORED INTO SI
0413
B9 0A 00
MOV
CX,0A
STORE
TABLE
CHECKING
LENGTH IN CX
0416
FC
CLD
CLEAR DIRECTIONAL FLAG
0417
AC
LODSB
READ IN DATA FROM TABLE
CHECKING SECTION UNTIL AL.
0418
9A 48 F0 00 F0
CALL
F000:F048
INPUT AL DATA INTO LCD
MODULAR.
041D
E2 F7
LOOP
0416
CX NOT EQUAL TO 0 WOULD
CONTINUE EXECUTION LOOP
041F
F4
HLT
Program execution at address 0:0600 is stored into the ASCII code of display data, like
followed (can be set oneself):
0600 41 42 43 44 45 46 47 48 49 4A
Program starts from 0:600 to be stored as ASCII data code and display on LCD modular i.e.
A B C D E F G H I J.
Summary of Contents for 5586A
Page 2: ...Nvis 5586A Nvis Technologies Pvt Ltd 2...
Page 23: ...Nvis 5586A Nvis Technologies Pvt Ltd 23 Memory Read Timing in Maximum Mode...
Page 30: ...Nvis 5586A Nvis Technologies Pvt Ltd 30...
Page 48: ...Nvis 5586A Nvis Technologies Pvt Ltd 48 Diagram of module RESET power Instruction Set Note...