Determine the value of registers, Mechanical Engineering

Assignment Help:

The ARM microprocessor has 32 bit instructions and 32 bit registers. Explain why this means that immediate addressing cannot be used to load a register with a 32 bit constant.

The range of immediate values allowed is given by N×2^ (2M). Where N is a value from 0 to 255 (8 bits) and M is a value from 0 to 15 (4 bits). Determine if the following instructions are allowed or not and, if allowed, give the values of N and M. (Answer can be in any base.)

MOV r4, #0x000001F4 ; put the number 500 into register r4
MOV r8, #0x000030C0 ; put the number 12,480 into register r8
MOV r9, #0x000030D4 ; put the number 12,500 into register r9
MOV r7, #0xEFC00000 ; put the number 4,022,337,536 into r7
ADD r10, r5, #0x30400000 ; add 809,500,672 to r5, put sum in r10

 

 


Related Discussions:- Determine the value of registers

Dual combustion cycle, In an I.C. engine operating on the Dual combustion c...

In an I.C. engine operating on the Dual combustion cycle, the temperature of the working fluid (air) at the beginning of compression is 27ºC. The ratio of the maximum and minimum p

Overall deformation of a component, Q. Overall deformation of a component? ...

Q. Overall deformation of a component? The overall deformation of a component is a function of the applied load, the materials' creep rate, the maximum in-service temperature,

Define heat for electrical resistance welding, Q. Define Heat for electrica...

Q. Define Heat for electrical resistance welding? The heat, H for electrical resistance welding is generated by passing a large electrical current ( of the order of 3000 to 100

Bevel gear, What is the face cone. Difference between tooth face and face ...

What is the face cone. Difference between tooth face and face cone?

Painting of structural components of skid, Q. Painting of structural compon...

Q. Painting of structural components of skid? Sandblasting and priming shall be carried out prior to assembly, and shall include all bolt holes, flange faces, etc. Flange gaske

Identification of pressure welds, Q. Identification of Pressure Welds? ...

Q. Identification of Pressure Welds? Pressure welds shall be identified as follows: a. Generally each weld shall be stamped adjacent to the weld with the welder's identity c

CAE & modelling, when is scaling transformation termed as linear

when is scaling transformation termed as linear

Desing, what is the maximum principle stress

what is the maximum principle stress

Define the process of otto cycle, Define the process of Otto cycle The...

Define the process of Otto cycle The Otto cycle is the ideal air standard cycle for petrol and gas engine. It having of four processes. Process 1 to 2 is isentropic comp

Write Your Message!

Captcha
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