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
Do not round intermediate calculations; however for display purposes report intermediate steps rounded to four significant figures. Give your final answer(s) to three significant f

Welding Head Submerged arc welding head consists of the wire spool, wire feed system, flux delivery hopper and electrical contact nozzle. The electrode wire is unwound from the s

Torque carried by the hollow shaft: A hollow and a solid shaft of similar material have the same weight when the inner diameter of the hollow shaft is half its outer diameter.

Water jet machining is an advanced method for cutting plates using a high-velocity water jet mixed with abrasive powder. The jet comes out of a nozzle A of diameter d and follows t

Q. Sewage Treatment? Unless located in a metropolitan area, it is common for plants to have sewage treatment facilities for disposal of sewage and grey water generated in the p

Calculate and draw the Shear force and Bending moment diagrams for the loaded beam and determine the maximum moment M and its location x from left end.


Cell Connectors A cell connector connects the nearby cell with two terminals of opposite polarity (sign). Post strap connect the plates to the terminal. Electrolyte

Evaluate the maximum bending stresses: A beam of I-section illustrated in Figure is simply supported over a span of 10 m. It carries an uniform load of 4 kN/m over the whole s