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
Advantages of Pinion Cutter Generating Process 1. A single cutter can be used for cutting all spur gears of identical pitch as that of the cutter. 2. Internal gears can be g

What is Drilling It is an operation by which holes are produced in solid metal by means of revolving tool known as „Drill?. The various operations on drilling machine.

Q. Determination of Wind-Induced Forces on Pressure Vessels? ASCE does not provide the complete methodology needed to account for wind-induced forces on common appurtenances to

Q. What is IFD in project management? The P&IDs now reflect the next intermediate stage of development and incorporate any changes requested by the Customer during the IFA revi

is there any other punch material for making cold forged nut except AISI M2

(1) Huckel Theory: Using Huckel theory, write a program that solves for the molecular orbitals and energy levels in a conjugated or aromatic hydrocarbon (i.e. ethylene, butadiene,

Which type of cam is used in general 2 wheelers?and how the type of profile is determined?

hardenability of ferrous and non ferrous alloys

Q. Explain about Vertical Vessels? Vertical vessels shall normally be designed as self-supporting units, and shall resist overturn based upon wind or earthquake considerations.

Expression for strain energy: Derive an expression for strain energy because of torsion.                                          Sol.: The work done in straining shaf