Question: B. Develop a sequence of instructions that will; 1) Set the lower byte of BX. 2) Clear the upper byte of CX. 3) Toggle (invert)

B. Develop a sequence of instructions that will; 1) Set the lower byte of BX. 2) Clear the upper byte of CX. 3) Toggle (invert) upper byte of AX. Question # 3 Write an assembly program code to do the following: (1) Uses STOSB to store byte AAH into 100 memory locations. (2) Uses LODS to test the contents of each location to see if AAH was there. If the test fails, the system should display the message "bad memory". Hint: use the following code to display a message on the screen: MOV AH,09 ; { DISPLAY MOV DX, OFFSET MESSAGE; {THE MESSAGE INT 21H ; {ROUTINE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
