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
Hydraulic fluid has to pass a dissimilar set of standards than motor oil. Motor oil has tackifiers, lower sulfur content, and other ingredients that could solve harmful to the seal

Occupational Safety - Industrial Safety The bad and most debilitating experience related to work which a worker can have is a work-related accident or illness. Within the effe

Steam engines: Steam engine is heat engine which converts heat energy to mechanical energy. The pressure energy of steam acts on piston and piston is moved to and fro in a cyl

A copper-silver bimetallic wire, 1 cm in diameter, is prepared by co-extrusion with copper as the core and silver as the outer layer. The desired properties along the axis parallel

Define the Abrasive Jet Cutting Machines 1. Abrasive jet cutting machines which are used to cut sheet materials or to remove materials of work piece from a surface by generatin

explain the properties of acouple

Expression for normal and shear stress: Derive expression for normal and shear stress on the plane AE inclined at an angle B with AB subjected to the direct stresses of compr

Ideal Speed Circuit ( 36 to 40 kmph ) : Motorcycle is brought into this condition by raising the throttle valve and an incorporated jet needle. The air enters through the main pa


Two shafts A and B are co-axial. A gear C (50 teeth) is rigidly mounted on shaft A. A compound gear D-E gears with C and an internal gear G. D has 20 teeth and gears with C and E h