Explain why multi-byte nop instructions are needed

Assignment Help Computer Engineering
Reference no: EM132083472

The NOP (no-op) instruction is an instruction that does nothing. In x86, a 1byte opcode 0x90 is designated as NOP instruction.

In addition to this single-byte NOP instruction, x86 defines/recommends multi-byte NOP instructions as follows:

2 bytes: 0x66 0x90 /*0x66; NOP */

3 bytes: 0x0f 0x1f 0x00 /* NOP DWORD ptr [EAX] */

4 bytes: 0x0f 0x1f 0x40 0x00 /* NOP DWORD ptr [EAX + 00h]*/

5 bytes: 0x0f 0x1f 0x44 0x00 0x00 /* NOP DWORD ptr [EAX + EAX*1 + 00h]*/

6 bytes: 0x66 0x0f 0x1f 0x44 0x00 0x00 /*0x66; NOP DWORD ptr [EAX+EAX*1 + 00h]*/ and so on.

Explain why multi-byte NOP instructions are needed by pointing out the advantage of using the above multi-byte NOP instruction instead of just multiple single-byte NOPs.

Reference no: EM132083472

Questions Cloud

What are the equivalent annual costs for two models : Machine B costs $550,000 to purchase, result in electricity bills of $80,000 per year, and last for 15 years. The discount rate is 12%.
Write a node js script that starts a simple http server : Write a Node.js script that starts a simple HTTP Server. The HTTP server should run on port 8001, and writes back to client.
What is weighted average cost of capital : For example, If I known cost of capital is 13%, risk-free rate is 3%, Therefore what is weighted average cost of capital?
How might the use of the cost method of accounting : How might the use of the cost method of accounting for significant influence investments have resulted in unintended wealth transfers from owners to managers
Explain why multi-byte nop instructions are needed : The NOP (no-op) instruction is an instruction that does nothing. In x86, a 1byte opcode 0x90 is designated as NOP instruction.
What is net sales revenue : What is net sales revenue and Assume net sales revenue is 450,000. What is gross profit
Calculate the profit margin and the gross profit rate : Prepare an income statement using the format presented on page 245. Assume a 25% tax rate - Calculate the profit margin and the gross profit rate
Normalize the tables given below and show result : Normalize the tables below. Show the resulting tables.
Compute the ending finished goods inventory : Its cost of goods manufactured was $75,000; its gross margin was $80,000; and its sales were $140,000. The ending finished goods inventory was

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write the mips-like assembly code for the given program

Write the MIPS-like assembly code for the following program segment to run on the 5-stage pipelined processor which you have developed

  Show circuit diagram with the appropriate number of gates

It is required that a NOR gate drive 30 other NOR gates. The fan-out of the IC logic family is 10, and no buffer gates are available.

  Prove that the fifth root of 2 is irrational

Use contraposition to prove that if n^5 is even so is n where n is an integer. The contra positive would be if n is odd, then n^5 is odd.

  Determine technology which has changed cafe,coffee shop

Determine technology which has changed cafe,coffee shop? Think things such as marketing, food preparation, inventory ordering or re-ordering, customer tracking, and more.

  Define the term interface

List the four main components of a programmable logic controller.

  Security devices for protection against different attack

Describe two or more attacks for which the routers (layer 3 devices) are vulnerable. Explain how these attacks are detected and prevented by the security devices.

  Generate an interaction google map

The objective of this project is to generate an interaction google map which will display the location of search song either by song name or song hashtag from Twitter.

  What are the four main components of a dataflow diagram

What are the four main components of a dataflow diagram? What if the processes were represented by rectangles and the terminators were represented by circles?

  What infrastructural or cyber domain sector are protected

According to your answer above, what infrastructural or cyber domain sector or assets are being protected by such enforcement?

  What about frequently changed passwords

What about frequently changed passwords? How do you think this scheme can be implemented? What are the advantages and disadvantages?

  Transcripting the case

The CTO of organization that has requested your services would like for your forensics team prepare a transcript of what you could state to CTO.

  Generating the cipher text

Consider the plaintext is 101101101. If CBC is not used, what is the resulting ciphertext? If CBC is utilized along with the IV = 111, specify the resulting ciphertext? Show all work.

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