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

Find out the modulus of elasticity, Find out the modulus of elasticity: ...

Find out the modulus of elasticity: A unidirectional FRP is produced with fibre volume ratio of 60%. The density of fibre is 1480 kg/m 3 and that of matrix is 1200 kg/m 3 . C

Determine the apparent range of the target - radar system, Consider radar w...

Consider radar with a PRF of 5 kHz. What is the maximum unambiguous range R ua of this radar, in km?  If a target is located at a range of 50 miles, how many pulses will the r

Stress analysis requirements, Q. Stress analysis requirements? All othe...

Q. Stress analysis requirements? All other lines requiring review by the stress group are to be checked for adequate support, stability, excessive movement, etc. Where hand ca

Nature of bending stress, According to the explanation, why reverse will ha...

According to the explanation, why reverse will happen in the case of cantilevers? ( that is, tensile stresses will be induced in upper layers and compressive stresses will be induc

Determine the position of the neutral axis, An 8 kN.m moment is applied at ...

An 8 kN.m moment is applied at the end of a block fixed into the ground as illustrated in thefigure below. The moment vector (double arrow head representation) acts in line with th

Arc welding power sources-arc characteristics, ARC CHARACTERISTICS In ...

ARC CHARACTERISTICS In order to understand the different output characteristics that are required by the welding power source it is necessary to understand the load which is f

energy method, A semi circular frame of flexural rigidity EI is built at A...

A semi circular frame of flexural rigidity EI is built at A and caries a vertical load W at B. calculate the magnitude of the vertical and horizontal deflection at B and hence the

Choose a wire rope for a vertical mine hoist, Choose a wire rope for a vert...

Choose a wire rope for a vertical mine hoist to lift a load of 55 kN from a depth of 300 metres. A rope speed of 500 metres/min is to be attained in 10 seconds.

Mr, how is the theory of kinematics applied to secondary machining

how is the theory of kinematics applied to secondary machining

Plant layout optimization, How to do matlab coding for computerized relativ...

How to do matlab coding for computerized relative allocation of facilities technique

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