Question

In: Computer Science

How many registers are there in ARM CPU for programmer to use? Which registers can you...

How many registers are there in ARM CPU for programmer to use?

Which registers can you use for general computation?

Which register are special purpose, and cannot be used for general computation?

What is the size, i.e. number of bits, each of these general purpose registers can hold?

Which are most useful flags in the current program status register?

Solutions

Expert Solution

How many registers are there in ARM CPU for programmer to use?

Ans:Total 16 register are there in ARM CPU for programmer to use .

which are as follows r0, r1, r2 , r3 , r4 , r5 , r6 , r7 , r8 , r9 , r10 , r11 , r12 , r13 , r14 , r15

Which registers can you use for general computation?

Ans: Register r13(stack pointer) and r14(link register) can be used for general computation.

Which register are special purpose, and cannot be used for general computation?

Ans:Register r15(program counter )  is a special purpose register contains the address of the next instruction to be fetched by the processor ,cannot  used for general computation.

What is the size, i.e. number of bits, each of these general purpose registers can hold?

Ans : 32 bit size

Which are most useful flags in the current program status register?

Ans :Most useful flags in the current program status resister are -

Negative flag (N) : Indicates that a value is negative.
Zero flag (Z): Zero flag is  set when an instruction produces a zero result.
Carry flag(C) : It indicate "borrows" and carry also from previous operation.
Overflow flag(V) : This flag is set if an instruction produces a result that overflows ..


Related Solutions

Assume you have a superscalar CPU with in-order issue and in-order instructions that uses 8 registers...
Assume you have a superscalar CPU with in-order issue and in-order instructions that uses 8 registers (R0-R7). The usual rules include: up to two instructions can be issued in one cycle; instructions have to complete in the order they are issued; an instruction attempting to write to a register that is being read by any incomplete instruction cannot be issued until the incomplete instruction completes; any instruction attempting to read a register that is being written to by any incomplete...
How many structures can you find to use as a starting dataset if you wanted to...
How many structures can you find to use as a starting dataset if you wanted to study how proteins interact with DNA. Assume that you will require only high resolution structures for the study (at least 2.5 Angstroms resolution). For the study, you plan to use structures that were only solved by X-ray crystallography. (Select the closest number if the exact number is not available) * between 1000-1500 between 2700 - 4000 172 371 between 450 - 950 What is...
you can use either vim or nano as text editor Implement the following code in ARM...
you can use either vim or nano as text editor Implement the following code in ARM on Raspberry Pi, compile and run. g=12, h=8, i=2, j=5; f = (g + h) - (i + j); Your program displays the message: f = (g + h) – (i + j) = 13 Note: answer should be calculated not hardcoded
Can you explain in detail how a hand, wrist, and arm work together to left an...
Can you explain in detail how a hand, wrist, and arm work together to left an object on a table from point A to point B. Such as the anatomy and Mechanics of the human hand. Example would be grabbing coke can and moving it to a different spot on table. (Talk about Wrist, Carpus, Metacarpus, Fingers, Muscles, Power grip, Connective tissue and tendons, etc.) Thank you and in paragraph form.
Can you explain in detail how a hand, wrist, and arm work together to left an...
Can you explain in detail how a hand, wrist, and arm work together to left an object on a table from point A to point B. Such as the anatomy and Mechanics of the human hand. Example would be grabbing coke can and moving it to a different spot on table. (Talk about Wrist, Carpus, Metacarpus, Fingers, Muscles, Power grip, Connective tissue and tendons, etc.) Thank you and in paragraph form.
How can you consciously tell the difference between a touch on the right arm versus a...
How can you consciously tell the difference between a touch on the right arm versus a touch on the left foot?
Discuss the strategies that a programmer can use for deciding when to air a new television...
Discuss the strategies that a programmer can use for deciding when to air a new television show. Use any relevant examples if suitable in media studies
How many occupations can you list that would need to use scientific names for plants? How...
How many occupations can you list that would need to use scientific names for plants? How would these groups of people be affected by a change in names for plants?
How many sets of five numbers from 1 to 15 can you make in which exactly...
How many sets of five numbers from 1 to 15 can you make in which exactly two of the numbers are divisible by 3?
in terms of physics how can a magnet damage a laptop such as hard-drive, cpu, motherboard...
in terms of physics how can a magnet damage a laptop such as hard-drive, cpu, motherboard etc.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT