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
How to design pressure control valve drill plug? How to select stroke and hole diameter and quantity?

WIRE-FRAME MODELS  The wire-frame model is perhaps the oldest way of representing solids. According to this model, any solid is represented by its edges and vertices. A wire-fr

Battery Charger: As suggested by the name, it is used to charge a battery. The detailed procedure for charging a battery is given in later units. List the uses of following too

STEP S FOR SOLVING PROBLEM FOR FINDING POWER: 1. Use formula stress (s) = force (Maximum Tension)/Area Where; Area = b.t that is, Tmax = σ.b.t 2. Unit mass (m) = r.b.t.

A uniform air stream with velocity U = 10m/s flows over a flat plate of length 10 meters in the first meter the boundary layer is laminar but beyond this point boundary layer is fu

Matter, particle and body: Matter is anything which occupies space, possesses mass provides resistance to any stress, example Iron, air, stone, Water. A body of negligible

velocity of belt: velocity of belt passing over the driver pulley will decrease Now with this velocity belt pass over driven pulley, Now Velocity of Driven = Velocity

Q. What is Precipitation? Precipitation includes rain, snow and hail. The maximum, average, and storm volumes will have an impact on the size and positioning of facilities to c

Q. Preliminary layout considerations? This section outlines the key aspects to be considered when preparing preliminary layouts during the evaluate phase. Preliminary layouts a

Angle of friction:   It can be defined as the angle made by resultant of normal reaction ( R ) and limiting force of friction ( F ) with normal reaction ( R ). Let,