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

Purpose of corrosion assessment design, Q. Purpose of Corrosion assessment ...

Q. Purpose of Corrosion assessment design? The purpose of this design guide is to ensure that Material Selection for Steam Assisted Gravity Drainage (SAGD) projects is carried

Calculate days of inventory, Calculate days of inventory: From the dat...

Calculate days of inventory: From the data provided in table 1 and 2, calculate days of inventory. Solution Average Inventory Investment = (Last year inventory + Curre

Explain coating repairs, Q. Explain Coating Repairs? Any coatings found...

Q. Explain Coating Repairs? Any coatings found to be damaged or that do not pass the inspection stage shall be recoated or repaired at the expense of the Applicator. The entire

Illustrate vacancy defect and screw dislocation, Illustrate vacancy defect ...

Illustrate vacancy defect and screw dislocation with diagram. Also show the induced nature of stress and stress by mean of diagram. Illustrate interstitial defect and edge disl

Models and their classifications, explain classifications of models based o...

explain classifications of models based on dimensionality,time-reference,degree of generality and degree of closure

Left side view of a motorcycle parts of motorcycle, Figure : Left Side View...

Figure : Left Side View of a Motorcycle Part No. Name Functions 1 Fuel cock Used to open or close the

Low lube oil pressure security in API612 , What type of low lube oil securi...

What type of low lube oil security recommended for API612 steam turbines.(Electronic/Mechanical). Please give refrences

Basic concept of repairing of motorcycle , Basic Concept: Proper care and ...

Basic Concept: Proper care and maintenance are essential for trouble free operation and optimum performance of the motorcycle. A quality repair ensures that excess wear and tear i

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