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

Explain the construction of dc machine, Explain the Construction of dc mach...

Explain the Construction of dc machine The constructional features of a dc machine are given below. A dc machine has two major parts, magnetic ?eld system and armature. The ?eld

Calculations for force, Calculations for force: A square block having...

Calculations for force: A square block having 25cm side and weighing 20N is hinged at point A and rests on rollers at point B as shown in the figure given below. It is pu

Power sources-transformer type power sources, Transformer Type Power Source...

Transformer Type Power Sources These are the simplest and cheapest type available for arc welding. These are the mainly used for SMAW, AC SAW and gouging applications. These are

Casting, can the superheat be in percentage?

can the superheat be in percentage?

Tension in the strings - mechanics, Tension in the strings: Sol.: Wh...

Tension in the strings: Sol.: When weight is attached to string then it will be in tension. The diagrams are shown below to describe this particular concept.

What are objectives of the footings, What are objectives of the footings? ...

What are objectives of the footings? Objectives of the footings: After studying this unit, you should be able to: a. Know different types of footings and the situation wh

Joule''s law and enthalpy - thermodynamics, Joule's Law and Enthalpy - Ther...

Joule's Law and Enthalpy - Thermodynamics: Joule ' s Law Joules law experiment is based on the constant volume process, and it state that I.E. of perfect gas is a fun

Stress concentration factor, 1. Write a short note (not more than half A4 p...

1. Write a short note (not more than half A4 page) on your understanding on St. Venant's Principal for your engineering design analysis. 2.  Estimate the " Stress Concentration

Horizontal hinge, 2 x 2 m square gate opens clockwise on a horizontal hinge...

2 x 2 m square gate opens clockwise on a horizontal hinge located at point A, which is 100 mm below the centroid of the gate. The gate sits against solid rubber blocks which create

Moments, what is resultant of coplanar non concurrent forces

what is resultant of coplanar non concurrent forces

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