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
Q. What is Erosion Loss? Additional metal thickness must be added in specific locations where metal loss is expected, due to stream flow that is of high velocity, or is abrasiv

Introduction There was a power point presentation on Hydrogen fuel, Hydrogen production using electrolyzer and solar energy and solar energy.Topics like Alternative Energy Sys

Consider a particle and its path of travel.The position of a particle P at any time t can be described by specifying its: (a)Rectangular coordinates; X,Y,Z (b)Cylindrical coordinat

(a) Describe heat engine. How is this engine characterized? (b) Describe Perpetual motion machines of first kind and second kind, i.e. PMM1 and PMM2. Are such machines possible

Efficiency Test on Sand Blasting:             After the study on sand blasting, the result was acceptable and the next step is planning to make order for new machine and searc

A plane wall (thermal conductivity = 10.2 w/m o c) of 100 mm thickness and area 3m 2 has steady surface temperature of 170 o c and 100 o c. Evaluate :- (i) The temperature

Determine the stresses in the shell: A cylindrical boiler is 2.5 m in diameter and 20 mm in thickness and it carries steam at a pressure of 1.0 N/mm2. Determine the stresses i

the component of computer integrated manufacturing with the diagram

Resistance welding electrodes and holders Requisites For Electrodes : The resistance welding electrodes are meant for the following functions: Conducting electricity

limitations of euler''s theory