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

Literature review on co2 positive displacement pump, How can I get the lit...

How can I get the literature review on fabrication and construction of a modified Co2 single stroke positive displacement pump driven with electric motor

Working and construction of a multi-plates dry clutch, When and why the Mul...

When and why the Multi-plate clutch is used ? Illustrate the working and constructional features of a multi-plates dry clutch. Describe clearly the necessity of a transmission s

Evaluate the quantity of air passes, The cockpit of a jet plane flying at a...

The cockpit of a jet plane flying at a speed of 1200 km/hr is to be cooled by simple air cooling system. The cockpit is to be maintained at 25 0 C and pressure in the cockpit is 1

Explain the single cast component auger, Explain the Single Cast Component ...

Explain the Single Cast Component Auger Material for Single Cast Component Auger: Either Ni-Cr or Cast iron Length of components: 1250 mm. Outer Diameter of Auger compone

Find the minimum weight to keep equilibrium, Find the minimum weight to kee...

Find the minimum weight to keep equilibrium: A belt supports the two weights W 1 an d W 2 over a pulley as shown in the figure given below. If W 1 = 1000N, fi

Determine fraction of the load would cnt fibers carry, Carbon nanotubes (CN...

Carbon nanotubes (CNTs) with low weight (density = 1.3 g/ cm^3), high tensile strength (50 GPa), and modulus of elasticity (1 TPa) in the axial direction have been touted as the st

Determine elongation because of self weight of conical bar, Determine elong...

Determine elongation because of self weight of conical bar: Sol.: Consider conical bar ABC of length L with the diameter d fixed rigidly at AB . Let attention be focuse

Fuel consumption is high motorcycle problem, If Fuel Consumption is High ...

If Fuel Consumption is High Causes of Problem Remedy   Incorrect electrode gap of spark plug Worn out electrodes o

Explain rake angle - angles of a drill, Explain Rake angle - Angles of a dr...

Explain Rake angle - Angles of a drill It is also known as helix angle .It is the angle formed between a plane containing the drill axis and the leading edge of the land. It c

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