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

The classical job shop scheduling problem (jsp), The Classical Job Shop Sch...

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

Kinetics of a particle, Kinetics of a Particle: We have seen the effec...

Kinetics of a Particle: We have seen the effect of forces on a particle. The laws of motion for a particle are extended to include a system of particles or a rigid body. It is

Determine the chemical formulate for refrigerant, (a) Draw P-H and T-S diag...

(a) Draw P-H and T-S diagrams for following cases : (3) (i) Cycle with superheated vapour before compression. (ii) Cycle with sub-cooling or under-cooling of refrigerant.

Calculate the mass moment of inertia, A rectangular plate has two holes of ...

A rectangular plate has two holes of dimensions shown and is released from the position shown. The plate is hinged about a horizontal axis and can rotate in the vertical plane. An

Why we need paving in design of a plant, Q. Why we need paving in design of...

Q. Why we need paving in design of a plant? Concrete paving should be provided under any equipment where flammable or hazardous liquids may be spilled during routine operation

Explain the working of die casting, Q. Explain the working of Die Casting? ...

Q. Explain the working of Die Casting? In the die casting process the, mould used for a casting is permanent called a die casting. it is shown in figure. It is thus quite diffe

Dynamic machine routing, Dynamic Machine Routing  Machine routing ident...

Dynamic Machine Routing  Machine routing identifies the machines that are needed for each of the operation of a given job. Within the JSP or Job Shop Scheduling Problem model,

Compare petrol engine with diesel engine, Compare Petrol engine with Diesel...

Compare Petrol engine with Diesel engine with each other ( i ) Basic cycle: Petrol Engine work on Otto cycle whereas Diesel Engine work on diesel cycles. ( i i )

What is the tessellated modellers, Tessellated Modellers    Solid Model...

Tessellated Modellers    Solid Modeling This describes a class of simplified boundary-representation modellers which approximate to curved faces by a number of plane faces. Sin

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