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

Flat capacity strategy, What is the total value added by the new workshop i...

What is the total value added by the new workshop in Year 1 of the 5-year plan? Assuming that the average quarterly demand is maintained over the remaining years of the 5-year p

Newer approaches to on-line scheduling, Newer Approaches To On-Line Schedul...

Newer Approaches To On-Line Scheduling  The on-line scheduling has established to be superior option than off-line scheduling upon the shop floor. The on-line scheduling looks

Kinematics of machine, what is the cross head velocity in slider crank mech...

what is the cross head velocity in slider crank mechanism.

Brazing vs welding, Brazing Vs Welding Following are the differences be...

Brazing Vs Welding Following are the differences between brazing and welding. (i)  In brazing, the joint surfaces are not raised to fusion point (or melted) and the joint is

What is the procedure of carburettor cleaning?, (a) What may happen if carb...

(a) What may happen if carburettor is not serviced at a regular interval? (b) What is the procedure of carburettor cleaning?

Calculate the maximum stresses in the end plate, The end plate of a tube is...

The end plate of a tube is made from 4mm thick steel plate as seen in the figure below. If a 30mm diameter rod welded to the plate is subjected to a force of 10kN, what would be th

What is shallow foundation, What is Shallow foundation Shallow foundati...

What is Shallow foundation Shallow foundations are those where the depth D

#title.If your requirement is for a sensor suitable for a he, Ask question ...

Ask question #Minimum 100 words acceptedIf your requirement is for a sensor suitable for a heavy industrial application, with a linear characteristic, working in temperatures up to

Area Moment of Inertia, Are a Moment of Inertia Moment of force about ...

Are a Moment of Inertia Moment of force about a point is product of the force ( F ) and perpendicular distance ( d ) between point and line of action of that is F.d. This mome

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