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

Necessity of suspension system , Necessity of Suspension System No...

Necessity of Suspension System Not to transmit road shocks to the motorcycle components. To guard the driver from road shocks and to make sure the stability of the ve

Explain the working of michelsons interferometer, Explain the working of Mi...

Explain the working of Michelson's interferometer. How circular fringes he produced with it. (a) What are antireflection films and interference filters? (b) Find the reflecti

Laser sources-carbon dioxide (co2) lasers, Carbon Dioxide (CO 2 ) Lasers ...

Carbon Dioxide (CO 2 ) Lasers   The CO 2 laser is a gas discharge device and it operates by electric excitation of an active medium that is a mixture of helium, nitrogen an

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

Solve the gauss elimination method, a) By Gauss elimination method, solve ...

a) By Gauss elimination method, solve x+2y+z =3 ; 2x+3y+3z =10 ; 3x-y+2z =13 b) Write a ‘C' program to find the solution of the above system of equations by Gauss Jordan meth

Determine the maximum pressure applied inside the shell, Determine the maxi...

Determine the maximum pressure applied inside the shell: A thin spherical shell of 1.5 m diameter is built by joining steel plates of 8 mm thickness by riveting. The efficienc

Two possible materials for casing, Two Possible Materials for Casing T...

Two Possible Materials for Casing Two possible materials for the casing would be a. Polypropylene or b. An aluminium 1/3 per cent silicon-casting alloy (LM6). Conclu

Find out force on each member - truss, Find out force on each member - Trus...

Find out force on each member - Truss: A truss is as shown in the figure given below. Find out force on each member and the nature of it.  Sol.: First we calculate sup

Determine the initial radius of curvature, Determine the initial radius of ...

Determine the initial radius of curvature:  A carriage spring, defiantly loaded and simply supported at its ends, has 12 steel plates each 60 mm wide by 6 mm thick. If the lon

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