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

Aerospace engineering, Have you ever been sit on a flight? Have you ever th...

Have you ever been sit on a flight? Have you ever think how those gigantic machines are developed ? Aerospace engineering is just the place where you require to be. Aerospace engin

Dimension commands-autocad, Dimension Commands: For example, the illust...

Dimension Commands: For example, the illustration above shows two different dimension styles. The one on the left is the default style known as STANDARD. If you do not create a

Classification of electrodes, CLASSIFICATION OF ELECTRODES The classifica...

CLASSIFICATION OF ELECTRODES The classification system used in the specification AWS A 5.1 which is for carbon steel electrodes follows established pattern for AWS filler metal s

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

Throttling process - thermodynamics, Throttling Process: The expansion...

Throttling Process: The expansion of gas through an orifice or partly opened valve is called as throttling. q 1 -2 = 0 and w 1 -2  = 0 Now              The throt

Draw the free-body diagram, Draw the Free-Body Diagram: A 3 m long boo...

Draw the Free-Body Diagram: A 3 m long boom (Figure) is held by a ball and socket joint at A and by two cables CD and BE. It carries load of 20 kN at B. Draw the Free-Body Dia

Find out the angle of force - center of wheel, Find out the angle of force:...

Find out the angle of force: Q: A uniform wheel having 60 cm diameter weighing 1000 N rests against rectangular obstacle   15 cm high. Find least force required which when ac

Gear complaints of engine starting, Gear Complaints Nature of Complaints (...

Gear Complaints Nature of Complaints (a) Gear shifting hard (b) Gear slipping (c) Gear noise

Illustrate reversible-irreversible and quasi-static process, (a) Illustrate...

(a) Illustrate reversible, irreversible and Quasi-static process with examples. (b) What do you mean by terms change of state, path, process, property, cycle. (c) Distinguish

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