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

Heat treatment of tool steels, Heat Treatment of Tool Steels This trea...

Heat Treatment of Tool Steels This treatment in case of tool steels in a significant step before actually employing the tool. Most properties are attained after heat treatment

General phase of value engineering, General Phase of Value Engineering: ...

General Phase of Value Engineering: Steps- 1. Prepare a strong foundation for the value study. Extension of auger in screw conveyer in hydraulic paver machine is to be do

Different characteristics of the frequently misclassified , Sentiment analy...

Sentiment analysis is a subfield of NLP concerned with the determination of opinion and subjectivity in a text, which has application in the analysis of online product reviews, rec

Explain the protocol for stress testing, Q. Explain the protocol for stress...

Q. Explain the protocol for stress testing? The protocol for stress testing should be structured to include the following: 1) Continuous ECG monitoring. 2) Hard copy ECG

Compton effect, Explain compton effect snd its significance

Explain compton effect snd its significance

Determine the forces in strings, Determine the forces in strings: The...

Determine the forces in strings: The Electric light fixture weighing 15N hangs from point C , by two strings AC and BC . AC is inclined at 60° to the horizontal and BC

Principal design criterion of plant layout, Q. Principal design criterion o...

Q. Principal design criterion of Plant layout? Safety-in-Design is a key factor associated with the layout design of any facility. The principal design criterion is to minimize

Advantages of resistance welding, Advantages of resistance welding   ...

Advantages of resistance welding   1. Resistance welding is very fast compared to arc welding. 2. Almost any combination of metals can be resistance welded provided necessa

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