Computer Science, asked by sysonika00, 11 months ago

write a program in 8086 assembly language that accepts a 2 digit input from the keyboard (as ASCII input) into packed BCD number. The packed BCD number may be stored in memory.

Answers

Answered by ligadedipak9977
0

Answer:

MEMORY ADDRESS MNEMONICS COMMENT

400 MOV AL, [500] AL<-[500]

404 MOV BL, [501] BL<-[501]

408 ADD AL, BL AL<-AL+BL

40A DAA DECIMAL ADJUST AL

40B MOV [600], AL AL->[600]

40F MOV AL, 00 AL<-00

411 ADC AL, AL AL<-AL+AL+cy(prev)

413 MOV [601], AL AL->[601]

417 HLT END

Answered by rushikeshsa9689
0

Answer:

answer of this question is so hard and I will see afterwards if you need answers please search on the Google will get it sorry thank you I have answer but should not writing we can't write on here

Similar questions