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
Clutch cable model: Ensure the cables fitted are of the respective model and not interchanged with other model. Also ensure that the cable is genuine.

Q. Combustion Chamber and Radiant Section? The combustion chamber and the radiant heat transfer section of the Steam Generators shall be a horizontal, multiple pass arrangement


The aim of this assignment is for the student to use the information, data and analysis techniques presented during lectures to design a belt drive transmission for a ventilation f

Hammer/Mallet: Hammer is used to strike a job to bring it in shape or otherwise. It is made of carbon steel. The wooden handle does not allow the shock to hand but handles made in

Brazing Vs Welding Following are the differences between brazing and welding. (i)  In brazing, the joint surfaces are not raised to fusion point (or melted) and the joint is

procedure for measuring area of square by planimeter

the component of computer integrated manufacturing with the diagram

Draw the P-h and T-S diagram for the vapour compression cycle when the vapour after compression is : (i) wet region (ii) dry saturated

A person climbs up a escalator in 60s . When he stands on it , then he is carried in the moving escalator in 30s . How much time will he take in climbing up in a moving escalator?