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
Hardfacing Electrodes There are many types of hard facing electrodes. These electrodes are mainly useful in the maintenance and repair of machinery parts and equipments subject

A hydraulic pipe is 20 cm internal diameter and 5 cm thick. It is needed to sustain an intensities of radial and hoop stress at several radii and plot their variation.

Ask question #Minimum 100 words awrite short note on the the hierarchical system structure involving various level

REACTIO N TURBINE: The turbine in which the steam expands while passing over the moving blades as well as while passing over the fixed blades and the pressure of steam dec


SHAF T IN PARALLEL: SHAF T IN PARALLEL: The shaft are in parallel when the driving torque is applied at the junction of shafts and resisting torque is at other ends of


Q. What is Slush moulding? Slush moulding is an excellent method for producing open-end objects. It is an inverse process of dipping, in which the inside of the mould is coated

Compute the magnitude and direction of the force: Problem: Compute the magnitude and direction of the force F¯ = (320 N) i¯ + (450 N) j¯ - (600 N) k¯ Solution

LASER BEAM WELDING In this process, fusion is achieved by directing a highly concentrated beam to a fine spot. The word LASER  is an abbreviation of Light Amplification by S