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

  The it manager for the only print shop in a small town in id

The IT manager for the only print shop in a small town in Idaho. The shop is connected to the internet by satellite link. Orders are received via the internet as well as by walk-ins with portable storage drives or smart phones that can transfer files..

  Write the code that reads an integer number called test

Write the code that reads values for a,b,c and displays their sum, repeating this process as long as none of the three values are negative.

  Use css comments to document the css program

Create a css file named style.css to format index.htm and provide a basic layout. Use css comments to document the css program.

  Designing structured cyclic scheduler with fixed frame size

Executed according to structured cyclic scheduler with fixed frame size. We require to make three types of design decisions according to: i) Select suitable frame size based on constraints.

  How many times will the job be interrupted

how many times will the job be interrupted and on which queue will it finish its execution?

  Which layers in the tcp/ip protocol suite need to be changed

In an internet, we change the LAN (Local Area Network) technology to a new one? Which layers in the TCP/IP protocol suite need to be changed?

  Write a brief paragraph describing the application

4. Research an application of Fuzzy Sets/Fuzzy Logic. Write a brief paragraph describing the application (what is the problem it addresses; why was a Fuzzy System chosen as a solution; pros and cons of the Fuzzy solution; etc.). (and you must ..

  How do you add all the elements of an arraylist

how do you add all the elements of an ArrayList favorite? I need help on creating class and client.

  Explain reasons for consulting different kinds of sources

Explain reasons for consulting different kinds of sources on the same subject.

  Receiver r is conducting an auction

Assume the receiver R is conducting an auction in which two bidders each encrypt their bids using the scheme above and send them to R.

  Describe and assess the evaluation method

Describe and assess the evaluation method being used by the testing company, i.e., nonvisual and verbal recording of browser activities and tester's vocal comments and evaluate the natural settings of the test environment for Web users. Note: Test e..

  Hexadecimal and binary value of the given number

What is its value in hexadecimal if the integer is converted to a 32 bit integer - Find the decimal, hexadecimal and binary value of the given number.

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