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

Planning a retail interior space, Question 1: A good display of the mer...

Question 1: A good display of the merchandise is the result of planning, cooperation and coordinating. A good schedule of work is important for a good design with the use of me

Safety considerations in multi-unit plants, Q. Safety considerations in mul...

Q. Safety considerations in multi-unit plants? Segregation of process units within large or multi-unit plants is necessary in order to reduce the risk of a fire spreading. This

Evaluate bending moment for overhanging beam, Evaluate Bending moment for o...

Evaluate Bending moment for overhanging beam: Draw the shear force & bending moment diagrams for 15 m span overhanging beam, that overhangs on both sides. This is subjected to

Shielding gas-helium, Helium Helium (He) is an inert, very light mon...

Helium Helium (He) is an inert, very light monoatomic gas, of atomic weight of 4. It is obtained by separation from natural gas. Helium is refined to a purity of min.  99.99

Explain the concept of cell-decomposition, Cell-decomposition In cell-d...

Cell-decomposition In cell-decomposition, an object can be represented as the sum of cells into which it can be decomposed. Each cell-decomposition system defines a set of prim

Seismic loads for structure-mounted equipment, Q. Seismic Loads For Structu...

Q. Seismic Loads For Structure-Mounted Equipment? For equipment mounted in a structure above grade, the governing equation for seismic force is: F p = A v C c Pa c W c , wh

Newton''s law of motion - first law, Newton's law of motion. Sol.: T...

Newton's law of motion. Sol.: The entire system of Dynamics is based on the three laws of motion that are basis assumptions, and were initially formulated by Newton. Fir

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