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 action and reaction of force , Explain action and reaction of force...

Explain action and reaction of force: Two bodies A and B are in contact at point ' O '. Body A Press against body B. Thus action of body A on the body B is F . React

CHEMISTRY, EXPALIN PREPARATION OF LYOPHILIC AND LYPHOBIC SOLS

EXPALIN PREPARATION OF LYOPHILIC AND LYPHOBIC SOLS

Basic troubleshooting of motorcycle, Basic Troubleshooting of Motorcycle we...

Basic Troubleshooting of Motorcycle we have studied about the basic troubles in motorcycle operation and their solutions. It will help you in finding out the problem with the vehic

Show leak area preparation, Q. Show Leak Area Preparation? Clearly mark...

Q. Show Leak Area Preparation? Clearly mark the location of the leak on the flange with a permanent marker. Notes: 1. Depressurizing hydrocarbon lines in non-emergency event

Explain types of gas welding process, Types of Gas Welding Process Gas ...

Types of Gas Welding Process Gas welding includes all those welding processes in which gas flame is used as a heat source for melting metals. It is further divided into three m

Working of gasifier combined cycle power plant, With the help of a neat dia...

With the help of a neat diagram illustrate the working of Gasifier combined cycle power plant. Describe with the help of neat diagram the working of Pressurised water reactor nu

DOMESTIC HOT WATER, HOW TO SIZE RECIRCULATION HOT WATER PUMP?

HOW TO SIZE RECIRCULATION HOT WATER PUMP?

How to calculate coupling factor?, Q. Two coils with self inductances 1H an...

Q. Two coils with self inductances 1H and 4H have a mutual inductance of 1H. The RMS value of current flowing in the two coils is 4A and 1A respectively. Find  the coupling factor

Clausius statement - thermodynamics, Clausiu s statement: It is impos...

Clausiu s statement: It is impossible to construct this type of H.P. which operates on cyclic process and allows transfer of heat from colder body to a hotter body without th

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