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
#draw a net sketch of the geometry of a single point tool.

Simply supported beam -  Bending Moment: Sketch the SFD and BMD for a simply supported beam of 15 m span loaded as illustrated in Figure Figure Solution Tak

Q. Show that quantity is invariant under Lorentz transformation. Show that the relativistic kinetic energy is given by C2 and it approaches to non relativistic kinetic energy fo

Alignment of a Railway Line: Selection of Alignment The following points must be considered in selecting the alignment of a railway line : (a) It should be as direct

We shutdown our furnace and always encountered crack on our piping at the weld joints. I investigated that upon shutdown the furnace cracking, our maintenance immediately remove th

The Classical Job Shop Scheduling Problem (Jsp) A  job  shop  scheduling  problem  occupies  the  determination  of  beginning  time  for  all operations in a finite and specif

Bhasker operates a retail shop and sells the high priced "Hot Food" thermoware. Each unit I priced at Rs.250. Experience has shown that the weekly demand schedule for items is as f

is there any assignment answers

Features of the Schem:  Features of the scheme are as follows : DIC is the primary registering centre. Registration is voluntary and not compulsory. Two types of

(a) What is the function of a spark plug? (b) What are the types of spark plugs? Point out the differences between them. (c) Describe the construction of a spark plug with th