Question

Write and run an 8086-assembly language program that accepts two input digits from the keyboard and converts it into a two-digit packed BCD number. This resultant number should be stored in a byte location in the memory. For example, if you input digit ‘3’ and ‘5’ then it should be converted to packed BCD number 35, which is 001101012. This result should be stored in a byte memory location

15 Sep 2022
Answer :
Word Count : 250

8086 assembly language program that accepts two input digits from the keyboard and converts them into a two-digit packed BCD number:


;Accept two input digits from the keyboard
mov ah,1 ;function code for keyboard input
int 21h _________ ________ _________ ____ _____ ___ ___ _______ ____.
____ __________ _______ ______ __________ ____ ___ _______.
______ ________ _________ _________ ____ __________ _____ _________ ________.
______ ____ ____ _____ _____ _______ ___ ________ _______ _____.
_______ _______ _________ ____ _________ ______.
______ ________ _______ _________ ______ _________ _____ ____.
__________ _______ _________ _________ ___ _________ ______ _______ _______.
________ _______ _____ ________ ______ ______ _________.
_______ __________ _______ _________ _____ _____ ________ ____ ___ __________.
__________ _____ ____ _________ _____ __________.
___ _____ ___ ____ _____ ________ _________ __________ _____.
___ ________ ______ _________ ________ ____ ____.
____ _____ ______ ______ __________ __________ _____ ___ ____.
_________ _______ ___ ___ _____ __________ ____ _________.
_______ _____ _____ ________ __________ __________ __________ _______ __________ __________ ___ ______.
________ _______ ______ _______ _______ __________ ________ ____ _________ ______ _____ __________.
__________ ___ __________ _____ _________ _______ ______ _________ _____ ________ _________.
_________ __________ ____ _______ _________ _________ ____ _____.
________ __________ ___ ___ _________ ___ ______ ___ __________.
______ _______ __________ ____ _____.
_____ __________ ______ ________ _____.
____ _______ _______ __________ _____ ____ ______ __________ ______ _________ __________.
_______ ______ _______ _____ _________ _______.
___ ______ ________ _________ ____ ______ _______.
__________ ____ _____ ___ ___ ____.
_________ ____.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write and run an 8086-assembly language program that accepts two input
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support