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

Compute the outside diameter of the shaft, Compute the outside diameter of ...

Compute the outside diameter of the shaft: A hollow shaft of diameter ratio is 0.4 is needed to transit 600 kW at 120 rpm. The maximum torque being 20% greater than the mean t

Briefly explain model scale design, Q. Briefly explain Model scale design? ...

Q. Briefly explain Model scale design? Knowledge of dynamic similarity conditions enables evaluation of model scales. Almost alI the problems related to river hydraulics are ab

Concentrated or point load on beam, Concentrate d or Point Load: Ho...

Concentrate d or Point Load: How many types of load are acting on the beam? A beam is usually horizontal and the loads acting on beams are usually vertical. The followi

Cscc in gas streams, Q. CSCC in Gas Streams? Due to process upset of FW...

Q. CSCC in Gas Streams? Due to process upset of FWKO or Treater, there may be chance of chloride carry over into the gas lines. Depending on the chloride contents of formation

Four-stroke - single cylinder gasoline engine, A four-stroke, single cylind...

A four-stroke, single cylinder gasoline engine having a bore of 90 mm and stroke of 100 mm has a compression ratio 7. The relative efficiency is 55% when the shown specific fuel co

Maximum stress in the beam due to bending, For the beam shown below, we nee...

For the beam shown below, we need to determine: (i)  the support reactions R L and R R (ii) the shear force and bending moment diagrams (iii) the maximum stress in the b

Calculate force required for equilibrium, Calculate force required for equi...

Calculate force required for equilibrium: A member ABCD is subjected to the point loads P 1 , P 2 , P 3   an d P 4   as shown in the figure given below

Evolution of specific volume of wet saturated steam, Evolution of Specific ...

Evolution of Specific volume of wet saturated steam -thermodynamics : Specific volume of wet saturated steam (V we t ) It is volume occupied by unit mass of wet satu

Express the compression force of hydraulic cylinder, Express the compressio...

Express the compression force C in the hydraulic cylinder of the car hoist in terms of the angle Θ, see Fig Q3. The mass of the hoist is negligible compared with the mass of the ve

Evaluate the net work done by the gas, An ideal gas is heated at fixed volu...

An ideal gas is heated at fixed volume until its temperature is 3 times the original temperature. It is then expanded isothermally till it reaches original pressure. The gas is t

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