Question

Write and run a program using 8086 assembly language that compares the values. of AL and BL registers. In case AL is more than BL, then program clears BL register otherwise it clears AL register. You can move value '1100 1010' in AL, register and '1100 1000' in BL register, initially

07 Aug 2023
Answer :
Word Count : 456

I can provide you with an example 8086 assembly language program that compares the values of AL and BL registers. If AL is greater than BL, the program clears the BL register; otherwise, it clears the AL register. Here's the code:

```assembly
ORG 100h  ; Set origin address

MOV AL, 1100_1010b  ; Move '1100 1010' into AL register
MOV BL, 1100_1000b  ; Move '1100 1000' into BL register

CMP AL, BL   ; Compare _____ _________ _____ _________ ___ _______ _______ ______ ______ ______ _____ ____.
______ __________ ________ ___ ____ ___.
__________ _________ ______ __________ _______.
________ __________ ____ _________ ______ _________ ________ _______ ______.
_________ _______ ______ ____ ____ ______ _________ _________.
__________ _______ _____ ______ ________ __________.
________ ______ _____ ______ _______ __________ _________.
_____ _______ _________ _______ ______ __________ ______.
_________ _______ ____ _____ _________ _______.
______ _______ ______ _______ _____ _______ _____ __________ _______ _________ ______ _____.
_____ ______ ______ _______ ________ ______ ___ _________.
__________ _______ ___ ___ _________ ________ _____ ________ __________.
____ _________ _________ ________ ____ ___ _________.
_________ ________ ___ ___ ___ _______ ____ ___ ____ ________ ________ ____.
___ _____ ____ _________ ___ _______ ________.
_____ ___ __________ ________ _______.
_______ ________ _________ _________ ___ _____ ______ __________ ____ _______.
_______ ___ _______ ____ _________ _________ _____ __________ ________ ______ ______ _______.
________ _____ ________ ____ _____ _______ _________ ___.
________ ________ ___ _____ ________ ____ ____.
___ _______ ______ _______ __________ ________ _______ ____ _____ __________ ____ __________.
________ ____ ______ __________ ____ _____ ___ ________ _______ ____.
________ ___ ____ ____ _______ _________ ________ ___ ____ _____ ___ _____.
__________ _______ ____ ___ _____ ______ _____ ____ _____.
_________ ___ ______ __________ _______ ______.
_____ ___ _____ ________ ________ ______ __________ _________ _____ ___ ________.
________ ___ _______ ___ ___ ______.
____ ___ _____ ______ _____ ___ _______ __________ ___ _________.
___ _____ ___ __________ ________ _________.
_______ ______ _______ _____ _______.
____ ___ _________ ______ ____ __________ _______ ________ ___ ___ ____ __________.
_____ _______ _______ ____ ______ ______ _______ ________ ______ _________ _____ __________.
_____ _________ ____ ________ _______ ____ ___ ______ ______.
____ __________ _____ _____ _________ ______ ______ _______ ________.
__________ _______ _________ _____ __________ ___ _______.
_________ __________ ___ _______ ______ _______ ___.
___ ___ _____ __________ _______ _________ ______ ______ ___ ___.
______ _____ _________ ___ ________ ___ _______ __________ ______ ___ ______ ____.
__________ ________ _____ _______ _____ _________.
__________ __________ ___ _________ ____ _______.
_________ ______ ___ _____ __________ ______ _________ ________.
____ _________ ___ ____ ______ _________ ________ ________ _________ ______ ______ ________.
_________ _____ ___ __________ ________.
__________ ___ ___ _________ _____ _____ ________ ___ ______ __________.
______ __________ _____ _______ ________.
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 a program using 8086 assembly language that compares the
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support