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

Land fill bio gas, working principle of land fill bio gas plant

working principle of land fill bio gas plant

Schedule evaluation, Schedule Evaluation Each continuations of a partia...

Schedule Evaluation Each continuations of a partial schedule that are produced in step 1 are ranked as per to their respective cost function. This cost function might be dissim

Tempering, TEMPERING: The hardening treatment specified to steel rais...

TEMPERING: The hardening treatment specified to steel raises the hardness but initiates internal stresses due to different cooling rates. The internal stresses are created al

What are the need of a surface condensing, (a) What are the need of a surfa...

(a) What are the need of a surface condensing ? Write disadvantages and advantages of Jet condenser and surface condenser. (b) A surface condenser is designed to handle 10000 Kg

Violation of clausius statement - thermodynamics, Equivalen t of Kelvin Pl...

Equivalen t of Kelvin Plank and Clausius statement: The Kelvin plank and clausius statements of the second law and are equivalent in all the respect. The equivalence of state

Discover modulus of elasticity of the composite, Discover modulus of elasti...

Discover modulus of elasticity of the composite: A composite of glass fibres and epoxy contain all fibres laid along the length and is needed to carry a stress of 1200 MPa. Th

Vessel rigging analysis, Impact Factor on Vessel rigging analysis? Unle...

Impact Factor on Vessel rigging analysis? Unless otherwise specified by the user, a minimum impact factor of 1.5 shall be applied to the lift weight for designing the lifting d

Iron-carbon phase diagram, Mechanical failure is one of the most important ...

Mechanical failure is one of the most important factors causing component/structure/product no longer fit for its intended purpose. Use examples to explain at least three modes o

Determine the maximum hoop - conical shells, Determine the maximum hoop: ...

Determine the maximum hoop: A conical water tank of height 2 metres & base radius 500 mm is supported at top and is full of water. The thickness of the wall is refer to 24 mm,

Introduction to service sector , INTRODUCTION: Service sector, you shall s...

INTRODUCTION: Service sector, you shall study about the growth of service sector followed by the growth of automobile industry, two-wheeler industry and Hero Honda Motors Limited

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