Advantages of instruction set architecture, Computer Engineering

Assignment Help:

Advantages of Instruction set architecture:

Stack

Advantages: it is simple Model of expression evaluation (reverse polish). Contain Short instructions.

Disadvantages: A stack can't be arbitrarily accessed .it makes it difficult to produce efficient code. The stack itself is accessed every operation and becomes a bottleneck.

Accumulator

Advantages:  it has short instructions.

Disadvantages:  It is only storage on temporary basis so memory traffic is the highest for this approach.

GPR

Advantages:  it makes code generation simple. Data can be stored for long periods in registers.

Disadvantages: All operands ought to be named leading to longer instructions.

Prior CPUs were of the first 2 types but in the last 15 years all CPUs made are based on GPR processors. The 2 main reasons are that registers are quicker in comparison with memory, the more data that can be kept internally in the CPU the quicker the program will run. The other reason is that registers are simpler for a compiler to use.

 


Related Discussions:- Advantages of instruction set architecture

Define in detail about the architecture, Define in detail about the Archite...

Define in detail about the Architecture Architecture is the set of resources visible to machine language programmer: Registers, the memory, data representations, instructions

Demultiplexers, Explain briefly about demultiplexers?

Explain briefly about demultiplexers?

State the encryption and decryption process with example, State the Encrypt...

State the Encryption and decryption process with example Encryption and decryption process in the Figure where Ram wants to send a confidential message to his friend Shyam. Ram

Send a report to the printer, How to send a report to the printer instead o...

How to send a report to the printer instead of displaying it on the screen? We can send a report to the printer instead of displaying it on the screen.  To do this, use the key

Acting rationally - artificial intelligence, Acting Rationally: "Al" C...

Acting Rationally: "Al" Capone was finally convicted for tax evasion. Were the police reacting on rationally?? To solve this puzzle, we must first look at how the performance

Why process scheduling algorithm favour i/o bound processes, Suppose that a...

Suppose that a process scheduling algorithm favors those processes that have used the least processor time in the recent past. Why will this algorithm favour I/O- bound processes,

Explain the principles of design, In structure chart whole application is d...

In structure chart whole application is divided into modules (set of program instructions) and modules are designed according to some principles of design. These are: Modularit

Define a structure, Define a structure. A structure having an ordered g...

Define a structure. A structure having an ordered group of data objects. Unlike the elements of an array, the data objects within a structure can have varied data types. Every

Describing Random Algorithm, Suppose you''re given n numbers and asked to f...

Suppose you''re given n numbers and asked to find a number that is greater than or equal to the median a) What is the lower bound for the worst case complexity of this problem?

Define checkbox in html, Q. Define Checkbox in html? Checkboxes are use...

Q. Define Checkbox in html? Checkboxes are used when one or more out of the group of options is to be chosen. Building Check boxes is very similar to radio buttons. Figure expl

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