Question
2. What is wrong with, or missing from, each of the following instructions: a. MOV ES, 249EH b. MOV [78H], [79H] 3. In some applications,
2. What is wrong with, or missing from, each of the following instructions:
a. MOV ES, 249EH
b. MOV [78H], [79H]
3. In some applications, it is common practice to save all registers at the beginning of a subroutine. Assume that SP = 1288H before a subroutine CALL. Show the contents of the stack pointer and the exact memory contents of the stack after PUSHF for the following:
1132:0450 CALL PROC1
1132:0453 INC BX
PROC1 PROC
PUSH AX
PUSH BX
PUSH CX
PUSH DX
PUSH SI
PUSH Dl
PUSHF
PROC1 ENDP
4. Using string instructions, write a program that transfers a block of 20 bytes of data from array DATA1 to array DATA2.
5. Write a program using string instructions to store byte 55H into 100 memory locations.
6. Indicate whether or not the jump happens in the following case.
MOV BH, 65H
MOV AL, 48H
OR AL, BH
SHL AL, 1
JC TARGET
7. Indicate the status of ZF and CF after CMP is executed in each of the following cases:
(a)MOV BX, 2500
CMP BX, 1400 (b)MOV AL, FFH
CMP AL, 6FH
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started