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

Calculate the crack stress intensity factor, Calculate the crack Stress Int...

Calculate the crack Stress Intensity Factor: If on the beam specimen of last problem two loads, each equal to 500 N, are applied at distance of 25 mm from central plane, calcu

What is boiler feedwater, Q. What is Boiler feedwater? The boiler feedw...

Q. What is Boiler feedwater? The boiler feedwater will be a mixture of desalinated water, treated make-up water and returned condensate, deaerated and heated, supplied by other

Crystal structure , Explain with neat sketches the various types of crystal...

Explain with neat sketches the various types of crystal imperfections

Calculations for the force to move a block, Calculations for the force to m...

Calculations for the force to move a block: T wo blocks A and B having weight 4KN and 2KN respectively are in equilibrium position as shown in the figure given below. Coeffi

Firecracker welding, Firecracker Welding This is a semi automatic vers...

Firecracker Welding This is a semi automatic version of SMAW. A specially designed heavy - coated electrode, which can be of any length upto 2 m, is laid on the seam of a groo

Magnitude of a couple - mechanics, Magnitude of a couple: So l.: Fo...

Magnitude of a couple: So l.: For system, magnitude of couple is equal to algebraic sum of the moment about any point If the system reduces to couple, the resultant forc

What is the use of welding electrode, Q. What is the use of welding electro...

Q. What is the use of welding electrode? An electrode is a piece of wire or a rod (of a metal or alloy), with or without flux covering, which carries current for welding. Its o

Determine the maximum permissible eccentricity of the load, Determine the m...

Determine the maximum permissible eccentricity of the load: A small hollow cylindrical column carries a compressive force of 400 kN. The external diameter of the column is 200

Thin uniform wire bent - centre of gravity, Thin uniform wire bent - centre...

Thin uniform wire bent - centre of gravity: Find out the C. G. of the thin uniform wire bent into shape ABC as illustrated in Figure. Solution Assume G be the loc

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