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
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