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

Need for electron beam welding(ebw) process, NEED FOR ELECTRON BEAM WELDING...

NEED FOR ELECTRON BEAM WELDING(EBW) PROCESS   The major advantage resulting from the use of a vacuum environment with a working pressure of from 10 -5 to 10 -3 mbar is esp

Assignemnt , A heating section consists of a 10 in diameter duct which hous...

A heating section consists of a 10 in diameter duct which houses a 8 kW electric resistance heater. Air enters the heating section at 14.7 psia 40oF, and 35 percent relative humidi

Capacitor, A parallel plate capacitor is charged to a total charge Q and th...

A parallel plate capacitor is charged to a total charge Q and then the battery is removed. A slab of material with dielectric constant ? is inserted between the plates. (Justify y

Modulus of elasticity, Explain Young's Modulus or Modulus of elasticity? ...

Explain Young's Modulus or Modulus of elasticity? Sol. : It is ratio between tensile stress and tensile strain or compressive stress and compressive strain. It can be denote

Solid Mensuration, How di i get the volume of a regular pentagon if the giv...

How di i get the volume of a regular pentagon if the given was a height of 9", a base of 3" and a central angle of 75

Example of manufacturing lead time (mlt), Example of Manufacturing Lead Tim...

Example of Manufacturing Lead Time (MLT) A certain part is generated in a batch size of 100 units. The batch should be routed through five operations to complete the processin

Varignon theorem - mechanics, Varignon theorem: State Varignon's theo...

Varignon theorem: State Varignon's theorem. How it helps in determining of the moments? In which type of condition is it used? Sol.: Varignon's theorem also called Law

Evaluation of heat required - thermodynamics, Evaluation of heat Required: ...

Evaluation of heat Required: Heat which is required to generate steam is different from 'total heat' or enthalpy of steam. Heat required for generating steam means heat needed

Evaluate tension in the string, A smooth sphere of radius 15 cm and weight ...

A smooth sphere of radius 15 cm and weight 2 N is supported in contact with a smooth vertical wall by a string whose length simlar the radius of sphere. The string joins a point on

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