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

What is the use of welding electrode, Q. What is the use of welding electro...

Q. What is the use of welding electrode? An electrode is a piece of wire or a rod (of a metal or alloy), with or without flux covering, which carries current for welding. Its o

Optimization, consider the following LPP max z=9x1+8x2+5x3 subject to 2x1+3...

consider the following LPP max z=9x1+8x2+5x3 subject to 2x1+3x2+x3 5x1+4x2+3x3 x1,x2,x3>_0 (a)solve using simlex method (b)hence using the sesitivity analysis

Circulation pumps, Are the types of pumps selected (base mounted, in-line)?...

Are the types of pumps selected (base mounted, in-line)? Locate pump on discharge side of boiler. Flexible connector used. Valving indicated, isolation valve on suction and dis

Hydropower scheme, 4. Design a run-of-the river hydropower scheme for a riv...

4. Design a run-of-the river hydropower scheme for a river in the Scottish Borders with potential level different of 15 m carrying water from a catchment area of 14 km by 25 km. I

Reversible and irreversible processes - thermodynamics, Reversible and irre...

Reversible and irreversible processes: Thermodynamic system which is capable of restoring the original state of it by reversing the factors responsible for occurrence of proc

State the postulates of special theory of relativity, State the postulates ...

State the postulates of special theory of relativity and deduce from them the Lorentz transformations. Define an inertial frame of reference and derive the Lorentz transformatio

Gear, in the spiral or helical gears- have meshing gear different helix ang...

in the spiral or helical gears- have meshing gear different helix angle?

Means of starting -kick starting -self-starting , Means of Starting ...

Means of Starting Kick Starting A kick lever is used to crank the engine. When we crank the engine, the air-fuel mixer is sucked into the engine and pressure builds in

Briefly explain how geothermal powerplant operate, Illustrate types of nucl...

Illustrate types of nuclear reactors with diagrams? a) Give advantages and disadvantages of nuclear power plant? b) Briefly explain how geothermal powerplant operate with fig

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