Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago