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

Kinematics and Dynamics of Machinery, I have Four (4) questions related to ...

I have Four (4) questions related to Kinematics and Dynamics of Machinery . I need them exactly after 30 hours. Thanks and please do let me know.

Explain principle of design of jig and fixture, Explain Principle of Design...

Explain Principle of Design of Jig and Fixture While designing jigs and fixtures following considerations should kept in mind: Reduction of idle time. Rigidity

Electromagnetic conversion device with example., Q.  In every electromagne...

Q.  In every electromagnetic conversion device, both generator and motor action take place simultaneously. Explain. The case the output is mechanical as in a motoring mode, th

Sum of horizontal and vertical components, Sum of horizontal and vertical c...

Sum of horizontal and vertical components: The two forces shown in the figure, are to be replaced by an equivalent force R applied at P . Locate point P by finding its d

Counterclockwise direction, Figure presents a gearbox that you are going to...

Figure presents a gearbox that you are going to design. The input shaft rotates at n1= 1500 rpm in a counterclockwise direction. The gearbox is needed to be designed sothat the out

#strength of materials, Distribution of shearing stresses on l--sections an...

Distribution of shearing stresses on l--sections and miscellaneous sections

Klein construction, how to find acceleration by Klein construction

how to find acceleration by Klein construction

Head pump, the pump, shown in the figure, is used to deliver water to a dis...

the pump, shown in the figure, is used to deliver water to a distribution system. there is no flow to or from reservoir A, but it is used to damp pressure and protect the pump. th

Manufacturing technology, Details of rolling process,Different rolling meth...

Details of rolling process,Different rolling methods,

Belts, crowning of pulley

crowning of pulley

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