Determine the value of registers, Mechanical Engineering

Assignment Help:

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

 

 


Related Discussions:- Determine the value of registers

Advantages and limitations of adhesive bonding, Advantages and Limitations ...

Advantages and Limitations of Adhesive Bonding The description so far might be concluded through listing main advantages of adhesive joints. (a) The adhesive joints assist

Working of boiler, Working of boiler : Water is filled in boiler ...

Working of boiler : Water is filled in boiler shell through the feed valve up to 2/3 rd of shell. Water flows down through the down take header by means of descending wa

Shielded metal arc welding, Shielded Metal Arc Welding   Single pass...

Shielded Metal Arc Welding   Single pass fillet welds upto ¼" (6.4 mm) maximum and ¼" groove welds made with a single pass or a single pass each side, may be made by using a

Need for electron beam welding(ebw) process, NEED FOR ELECTRON BEAM WELDING...

NEED FOR ELECTRON BEAM WELDING(EBW) PROCESS   The major advantage resulting from the use of a vacuum environment with a working pressure of from 10 -5 to 10 -3 mbar is esp

What are interconnecting pipe racks, Q. What are Interconnecting pipe racks...

Q. What are Interconnecting pipe racks? Interconnecting pipe racks carry the main process inlet, export and transfer lines and utility distribution lines to and from process an

Determine the critical load, Determine the critical load (W crit ) to ...

Determine the critical load (W crit ) to cause elastic instability of the rigidly jointed frame shown in Figure Q2. The frame members have constant bending stif

Determine controllability matrix – open loop control system, An open-loop c...

An open-loop control system has the following state-space model: (a)  Determine the characteristic equation for the open-loop control system. (b)  Determine the characte

Determine the width and depth of the beam, Determine the width and depth of...

Determine the width and depth of the beam: A timber beam of rectangular section is only supported over a span of 5 m. It carries an uniformly distributed load of 15 kN/m over

Illustrate strip rolling, a) In strip rolling what is i) Forward slip ii) N...

a) In strip rolling what is i) Forward slip ii) Neutral point. Illustrate with diagram. b) State the conditions for rolling.

Micrometer or screw gauge-measuring tools , Micrometer (or Screw Gauge): T...

Micrometer (or Screw Gauge): There are two different types of micrometers - inside and outside micrometers. A micrometer also has two scales - Main scale and Vernier scale (Figure

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd