Nvis 5586A
Nvis Technologies Pvt. Ltd.
133
Program 19:
BCD Addition of two bytes.
Address
Opcode
Mnemonic
Comment
0400
B0 92
MOV AL, 92
COPY 92 IN AL
0402
B3 52
MOV BL, 52
COPY 52 IN BL
0404
00 D8
ADD AL, BL
ADD AL AND BL, ADDITION SAVE IN AL
0406
27
DAA
DECIMAL ADJUST ACCUMULATOR
0407
88 06 50 04
MOV [450], AL
MOVE AL DATA IN MEMORY LOCATION 450
040B
F4
HLT
HALT
92 + 52 = E4 but it is not in proper bcd format due to msb nibble.
Hence, E4+60 = 44 H. Here result can be analyzed on memory location 450 H
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...