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

Virtual work, state principle of virtual work

state principle of virtual work

Cost, why are future costs not always relevant?

why are future costs not always relevant?

Points of contraflexure, Points of Contraflexure: Assume M 1 , M 2 , ....

Points of Contraflexure: Assume M 1 , M 2 , . . . and M 6 be the points of contraflexure, where bending moment changes sign. To determine the position of M 2 , let a section

Deliberately placing column from centre in footing, Describe method of deli...

Describe method of deliberately placing column from centre in footing. The method of deliberately placing a column away from the centre of the footing so that resulting soil pr

Find out the velocity of the chain, Find out the velocity of the chain: ...

Find out the velocity of the chain: Figure shows a metal chain ABC where portion BC is of length 0.4 metres and is hanging vertically, & portion AB of length 0.8 metres rests

Determine concept of hydrostatic sensor paver machine, Determine concept of...

Determine concept of Hydrostatic sensor paver machine A sensor asphalt paver is a machine used to deal out, shape, and partially compact a layer of asphalt on the surface of a

Feed speed-spindle rpm-cutting time material removal rate, A hole of 25 mm ...

A hole of 25 mm diameter and 62.5 mm depth is to be drilled. The suggested feed is 1.25 mm/rev.and the cutting speed is 60 m/min. Assume the clearance height is 5 mm. Determine: f

Pultrusion, Pultrusion Structure sections of long length are generated...

Pultrusion Structure sections of long length are generated by putting the fibres via resin bath and heated dies of exact shapes. Unidirectional fibres along with high volume f

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