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

Assignemnt , A heating section consists of a 10 in diameter duct which hous...

A heating section consists of a 10 in diameter duct which houses a 8 kW electric resistance heater. Air enters the heating section at 14.7 psia 40oF, and 35 percent relative humidi

Jominy test, Jominy Test: Additionally convenient laboratory test for ...

Jominy Test: Additionally convenient laboratory test for harden-ability is Jominy test. A standard test piece of steel as illustrated in figure of The Jominy Test of Harden-ab

Define specific volume (v) of System, Define Specific Volume (v) It is ...

Define Specific Volume (v) It is illustrated as volume occupied by the unit mass of the system. Its unit is m 3 /kg. Certain volume is reciprocal of density. ν = v/m; m 3 /k

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

Violation of k-p statement - thermodynamics, V iolatio n of K-P Statement...

V iolatio n of K-P Statement: A HE produce work 'W' by exchanging the heat with one reservoir at temp. T 1 only. The K-P statement is violated.   H.P. is extract

Numerical problems based on overhanging beam, Numerica l Problems Based on...

Numerica l Problems Based on Overhanging Beam: Q: Draw Shear force diagram for the simply supported beam loaded as shown in the figure given below. Sol.: Let the

Determine the work transfer, If the expression is quasi-static, determine Q...

If the expression is quasi-static, determine Q, ΔU and W for the process. In another process the same system expands according to the similar pressure- volume relationship and f

Fluids, show a schematic circuit diagram of a electric hydraulic gear pump...

show a schematic circuit diagram of a electric hydraulic gear pump with adjustable with one direction flow and explain the operation

Show hazards associated with plants, Q. Show Hazards associated with plants...

Q. Show Hazards associated with plants? Hazards associated with plants will typically include the following: • Inherent fire hazards presented by the release of flammable g

Reinforced earth walls, Reinforced Earth Walls: When constructing ROB...

Reinforced Earth Walls: When constructing ROBs, fly-overs and underpasses, it is often not possible to provide sloped earthen embankments for the approaches, which are as hig

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