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

Thermodynamics essay, Write an essay on air, water and soil-based heat pump...

Write an essay on air, water and soil-based heat pumps. Discuss the advantages and the disadvantages of each system. For each system identify the conditions under which that system

Principle stresses, Determine the bending  (o-, ) and shear stress ( Tx), )...

Determine the bending  (o-, ) and shear stress ( Tx), ) at the surface element shown on the solid circular shaft below. Use Mohr's circle to determine the principle stresses, a l

Stacking in the applicators storage, Q. Stacking in the Applicators storage...

Q. Stacking in the Applicators storage? Stacking in the Applicator's storage yard shall be in accordance with good safety practices and/or OWNER Specifications. Sufficient spac

What do you mean by issued for review, Q. What do you mean by Issued for Re...

Q. What do you mean by Issued for Review? This drawing issue of P&IDs is a draft and is intended for the Colt-internal review process involving affected disciplines. This draw

Cylinder block-basic components of engine , Cylinder Block: This serves a...

Cylinder Block: This serves as an enclosure to the cylinder. The cylinder is an integral part of cylinder block in 100 cc motorcycle. Figure : Cylinder Block

Example of free body diagram - mechanics, Example of free body diagram: ...

Example of free body diagram: The thr e e spheres A , B , C are placed in groove shown in the figure given below. The diameter of each sphere is 100mm. Sketch the free

What are design aspects of pelton wheel turbin, Describe with suitable diag...

Describe with suitable diagram the governing of impulse turbines. What are design aspects of Pelton wheel turbine and also explain all the terms. Derive mathematical formula

Frames, Frames: You have been introduced to the analysis of frames. By...

Frames: You have been introduced to the analysis of frames. By going through this unit, you may identify frames and differentiate them from trusses. The method for analyzing f

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