Google

Jun 13, 2008

Adding two hexa-decimal numbers with carry

LDA 2200H
MOV C,A
LXI H,2201H
SUB A
MOV B,A
Back: ADD M
JNC Skip
INR B
skip INX H
DCR C
JNZ BACK
STA 2300H
MOV A,B
STA 2301H
HLT
This program will add tho hexa deciaml numbers without carry

You might be also interested in:

:: 8051 based project for electrical students
:: free and open source 8086 Microprocessor Emulator
:: Invoke function

No comments: