Nvis 5586A
Nvis Technologies Pvt. Ltd.
110
Program 5:
Addition of two number and display it on LCD.
Here the data is break in to part because we can transfer 8 bit at a time on LCD using given
function
Operand 30+30
Result =60
Address Opcode
Mnemonic
Comment
400
B8 30 00
MOV AX,30
MOVE DATA IN AX
403
05 30 00
ADD AX,30
ADD DATA TO CONTENT OF AX
406
88 C2
MOV DL,AL
MOVE LOWER 8 BIT OF AX IN TO
LOWER 8 BIT OF DX
408
9A 78 F0 00 F0
CALL F000:F078
CALL TO DISPLAY FUNCTION
40D
88 E6
MOV DH,AH
MOVE HIGHER 8 BIT OF AX TO
HIGHER 8 BIT OF DX
40F
9A 68 F0 00 F068
CALL F000:F068
CALL TO LCD DISPLAY FUNCTION
414
75 F2
JNE 0408
UNCONDITIONAL JUMP TO 408
MEMORY LOCATION
416
F4
HLT
HALT
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...