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

The aligned dimension command, The Aligned Dimension Command You can us...

The Aligned Dimension Command You can use this command to generate aligned dimensions. These are dimensions along inclined lines which cannot be dimensioned with the DIMLINEAR

Hot working of metals, advantages and disadvantages of hot working of metal...

advantages and disadvantages of hot working of metals

Difference between, Difference between path function and point function

Difference between path function and point function

Procedure for calculating the wind force on vessels, Q. Procedure for calcu...

Q. Procedure for calculating the wind force on vessels? The National Building Code of Canada has a similar procedure for calculating the wind force on vessels as ASCE. The bas

Evaluate the temperature of the centre of the bar, A copper bar 80 mm by 60...

A copper bar 80 mm by 60 mm in cross-section (k = 370 W/m ºC) is lying in a insulated trough so that the heat transfer from one face both the edges is negligible. It is seen that w

Special casting methods, Special Casting Methods: 1. Die casting : D...

Special Casting Methods: 1. Die casting : Die casting is a permanent mould casting techniques in which molten metal is forced in the mould cavity under a pressure of 700 to

Engineering mechanics, difference between coplanar and noncoplanar force sy...

difference between coplanar and noncoplanar force system

Determine heat loss by free convection, Describe Nusselt Number, Reynolds N...

Describe Nusselt Number, Reynolds Number and Prandtl Number. Get the relation between these three for a circular cylinder losing heat in forced convection to the air flowing around

Manufacturing technology, Details of rolling process,Different rolling meth...

Details of rolling process,Different rolling methods,

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