Explain the operation of the mips andi instruction

Assignment Help Computer Engineering
Reference no: EM13331300

a) Given the following MIPS machine instructions:

(i) 00010010111110010111111010111001

(ii) 00000000110010010111100000101010

For each machine instruction:

a) What is the instruction format class and why?

b) What operation will be performed and how did you identify the operation?

c) In decimal and in instruction format order, what registers (if any) represent rd, rs, rt? Hint rd is not always used. If you think no registers are used, state it.

d) What MIPS registers, if any, are used? In the case that MIPS registers are used, name them instruction format order and in terms of $at, $v0, $t0 etc. Hint rd is not always used. If you think no registers are used, state so.

e) In the case that an immediate value or an address is used, express it in hex. If you think the instruction does not use an immediate or an address, state so.

b) Explain the operation of the 'MIPS andi ' instruction. Illustrate your answer with an appropriate example. In your answer you must provide details of the andi instruction format and of what each field in that instruction format does and how an andi instruction is identified.

4) Explain the operation of the following MIPS assembler instruction as it passes through each stage of the MIPS pipeline. You are to highlight any parallelism and redundancy that may occur as the instruction passes through the various pipeline stages. You are to assume there is no impact on this instruction by previously executed instructions. A diagram is not required.

add $s1, $s2, $s3 //$s1 = $s2 + $s3

 

Reference no: EM13331300

Questions Cloud

Explain transport proteins to cross the blood-brain barrier : Dopa (Levodopa) is an oral medication used to treat Parkinson\'s disease, the symptoms of which result from a lack of dopamine in the brain. L-Dopa relies on L-type, or leucine-preferring, transport proteins to cross the blood-brain barrier
Case study on planning scope & integration management : Case Study On Planning, Scope & Integration Management
Explain the melting temperature of ice : Using the Clausius-Clapeyron Equation, estimate the melting temperature of ice below an adult wearing ice skates? How might this help someone skate? Some useful data: vL = 1.00 × 10?3 m3/kg hSL = 333.4 kJ/kg.
What is the initial kinetic energy of the two carts : Two carts are involved in an inelastic collision. The dynamics cart A with mass 0.88 kg hits the collision cart B with mass 0.550 kg (initially at rest). What is the initial kinetic energy of the two carts
Explain the operation of the mips andi instruction : In decimal and in instruction format order, what registers (if any) represent rd, rs, rt? Hint rd is not always used. If you think no registers are used, state it.
Explain the osmotic pressure of blood at normal body temp : The osmotic pressure of blood at normal body temp of 37 deg C is 7.65 atm. Sometimes it is necessary to add a saline (NaCl) solution by intravenous injection to a patient in the ER.
Estimate the voltage of the generator : The power dissipated in a series RCL circuit is 66.2 W, and the current is 0.547 A. The circuit is at resonance. Determine the voltage of the generator
Studies indicate that the price elasticity of demand for : Studies indicate that the price elasticity of demand for cigarettes is about -0.4.If a pack of cigarettes currently costs $2.0 and the government wants to reduce smoking by 20%, by how much should it increase the price?
John was the batsman in a cricket match : John was the batsman in a cricket match. He hit the ball so hard that it went overthe brick wall that surrounded the cricket ground over the road outside and hit MrSmith, who had just opened the front door of his house. Mr Smith sued the cricketclub ..

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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