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

What is a steam turbine diaphragm, Steam turbine comprises of stages, numbe...

Steam turbine comprises of stages, number and size of the stages depends upon the break horsepower of the turbine. The stage has set of moving and fixed blades. The moving blade

Clausius inequality - thermodynamics, Clausius inequality - thermodynamics:...

Clausius inequality - thermodynamics: Whenever closed system undergoes cyclic process, cyclic integral is less than zero (that is negative) for an irreversible cyclic process

Elastic limit, Elastic Limit: Sol. : When external force acts on the...

Elastic Limit: Sol. : When external force acts on the body, the body tends to undergo some deformation. If external force is removed and body comes back to its original shap

What do you understand by straight line mechanism, What do you understand b...

What do you understand by straight line mechanism ? Describe with a neat sketch the working and construction of any three types of straight line mechanism. Derive a mathematical

Explain about nonconforming material, Q. Explain about Nonconforming Materi...

Q. Explain about Nonconforming Material? If PMI test results indicate that the material or item does not meet the specified composition of the alloy, the subject material/item

Dryness fraction measurement - thermodynamics, Dryness fraction measurement...

Dryness fraction measurement: Sensible Hea t of Water or Heat of Liquid or Enthalpy of Liquid (h) Sol.: It is quantity of heat which is required to raise unit mass

Advance dynamics, Ask question i have an assisgment can you please tell me ...

Ask question i have an assisgment can you please tell me how much does it cost #Minimum 100 words accepted#

Explain arc-welding processes, Arc-Welding Processes Arc-welding incl...

Arc-Welding Processes Arc-welding includes those welding processes wherein heat required for welding is derived from an arc powered by electrical energy, may be AC of DC as s

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