Question: Question 1 : Using assembly language of 8 0 8 6 microprocessor, write a program that performs the following tasks: [ insert only the instruction

Question1: Using assembly language of 8086 microprocessor, write a program that performs the following tasks: [insert only the instruction in this question!] Note than a task may require more than one instruction. [1] Initialize SI register with the immediate value 02AFH. [2] Initialize AL, BX, CX registers with the immediate value 35H,12B0H,23F1H.[3] Store AL, BX, CX into the memory location addressed by SI register in the data segment [4] Add the contents of the CX register and the memory location addressed by SI and store the result in the BX register. [5] Subtract the byte content of BL register from AL register and store the difference in the BL register [6] Verify if the content of BL register is equal to 0[7] Rotate left the content of AL register two times [8] Perform an AND bit-wise between the contents of the CX and BX registers [9] Copy the content of DX in the stack segment memory location addressed by 02AFh then Copy the immediate data A201H and 234CH at the consecutive offset addresses. [10] Add 1 to the content of the memory location pointed by 200H in the stack segment Question2: provide the addressing mode, the content of the register/ memory location and flag register after the execution of each instruction [insert print screen] Instructions Addressing mode Register/memory location Flag register [1][2][3][4][5][6][7][8][9][10]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!