Determine the value of registers, Mechanical Engineering

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

 

 

Posted Date: 3/25/2013 5:59:29 AM | Location : United States







Related Discussions:- Determine the value of registers, Assignment Help, Ask Question on Determine the value of registers, Get Answer, Expert's Help, Determine the value of registers Discussions

Write discussion on Determine the value of registers
Your posts are moderated
Related Questions
Read two documents that will provide and answer the following questions: 1) You will note from reading the above referenced specifications that fewer valve types are recommended fo

Loading Conditions Non-uniformity of loading has to be considered in the choice of foundations particularly in highly compressible soils. It is not uncommon for buildings with

What are the Forces Acting on Foundations Foundations are normally subjected to vertical loads which are resisted by compressive stress generated in the soil. However, the acti

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

the component of computer integrated manufacturing with the diagram

In mechanics, stress is a measure of the internal forces acting within a deformable body. Quantitatively, it is a measure of the average force per unit area of a surface within the

function of helium shielding gas

Compare otto cycle with Diesel cycle: Sol.: These two cycles can be compared on the basis of either the same compression ratio or the same maximum pressure and temperature.

The first laboratory report, covering the two-part exercise involving tension testing and stress concentrations is due in lab two weeks after the conclusion of fatigue testing.

A cycle stream power plant is to be designed for stream temperature and turbine 350