Nvis 5586A
Nvis Technologies Pvt. Ltd.
134
Program 20:
BCD Subtraction of two bytes.
Address
Opcode
Mnemonic
Comment
0400
B0 38
MOV AL, 38
COPY 38 IN AL
0402
B5 61
MOV CH, 61
COPY 61 IN CH
0404
28 E8
SUB AL, CH
AL
D7 CF=1(BORROW)
0406
2F
DAS
DECIMAL ADJUST AFTER SUBTRACTION
AL
77 (AS D>9, D-6 = 7) CF = 1
0407
88 06 50 04
MOV [450], AL
MOVE AL DATA IN MEMORY LOCATION 450
040B
F4
HLT
HALT
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...