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

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 Databases Questions!