What will be stored in ecx

Assignment Help Basic Computer Science
Reference no: EM13756334

Answer the following questions

a. For each exercise below, assume that the data segment contains

Source BYTE "brown"

Dest BYTE "brine"

1. Suppose that the following instructions are executed:

lea esi, source

lea edi, dest

cld

mov ecx, 5

repne cmpsb

Assuming that 00417000 is the address loaded in ESI and 00417005 is loaded in EDI, what will be the values stored in ESI and EDI following the repne cmpsb instruction? What will be stored in ECX?

2. Suppose that the following instructions are executed:

mov al, ‘w'

lea edi, dest

cld

mov ecx, 5

repe scasb

Assuming that 00417005 is the address loaded in EDI, what will be the value stored in EDI following the repne scasb instruction? What will be stored in ECX?

Reference no: EM13756334

Questions Cloud

Discuss how the business requirements drove : Discuss how the business requirements drove the system's initial development. Describe the type and basic uses of the system, how the system has helped the organization, and any likely future development plans.
What problems did progressive reformers hope to solve : What problems did Progressive reformers hope to solve?
Design the requires and the provides interfaces : Design the Requires and the Provides interfaces of at least two (2) components that might be used in a system in an emergency control room for a call-logging component that records calls made
Identify points at which intervention by federal government : In a short essay (about 300 words), identify three points at which intervention by the federal government could have slowed or perhaps even stopped the Depression.
What will be stored in ecx : Assuming that 00417005 is the address loaded in EDI, what will be the value stored in EDI following the repne scasb instruction? What will be stored in ECX
External factors that affect the international operations : Describe the external factors that affect the international operations at UPS. Explain how these external factors cause UPS to adjust its operations
Describe successes and failures of brief kennedy presidency : Describe the successes and failures of the brief Kennedy presidency. Describe the principle pieces of legislation in Johnson's Great Society program? His War on Poverty program?
The microprocessor simulator : Modify the program in 07textio.asm to include three procedures. The first should read text from the keyboard and store it in RAM. The second should convert any upper case characters in the stored text to lower case. The third should display the te..
Identifiable and unidentified information : Differentiate between the privacy rule and the security rule as it applies to actual use in the laboratory. Differentiate between identifiable and unidentified information and their uses

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Why would you use the const keyword

What is the const keyword in C++? Why would you use the const keyword?

  Write a complete main method that would print your last name

Suppose your name was George Gershwin. Write a complete main method that would print your last name, followed by a comma, followed by a space and your first name. Question 2 Declare a variable named myMenu suitable for holding references to Menu o..

  What are difference between oop and object orinted design

What is the difference between object oriented programming and object oriented design

  How can you minimize the quantization error

How can you minimize the quantization error - Just a simple and quick answer and please no copy and paste.

  Compute the number of different possible ways

Compute the number of different possible ways in which the instructions of the two processes can be interleaved when the two processes are executed concurrently.

  Find the error in following code

The following code will not display the results expected by the programmer. Can you find the error? Declare Real lowest, highest, average Display "Enter the lowest score

  Express the angle with respect to the tangential velocity

Express the angle with respect to the tangential velocity vector (ie, +90° points radially out). (Points : 5) A) 10.9 m/s2 at -75° B) 10.9 m/s2 at +75° C) 37.9 m/s2 at -75° D) 37.9 m/s2 at +75°

  Compare how the gestures data is generated and represented

Analyze the accuracy of the input generated by each of the following input devices compared to electrical signals based methods of processing

  Assistance in creating an entity relationship design

Assistance in creating an entity relationship design that captures/tracks information of researchers within all universities in a given state. Information of interest includes researcher name, title, position; university name, location, enroll..

  Create a class titled schooltextbook that contains fields

Create a class titled SchoolTextBook that contains fields for the author, title, page count, ISBN, and price. This SchoolTextBook class will also provide setter and getter methods for all fields.

  Performing swot analysis on viability of upgrading server

Carry out a SWOT analysis on the viability of upgrading to Server 2008.

  Explain reads and writes using lipner-s matrix

Who in Lipner's model can make this change? Explain the reads and writes necessary to make this change and justify the read and write using Lipner's matrix.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd