Advantages of instruction set architecture, Computer Engineering

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.

 

Posted Date: 10/13/2012 3:39:18 AM | Location : United States







Related Discussions:- Advantages of instruction set architecture, Assignment Help, Ask Question on Advantages of instruction set architecture, Get Answer, Expert's Help, Advantages of instruction set architecture Discussions

Write discussion on Advantages of instruction set architecture
Your posts are moderated
Related Questions
Explain The Storage Class extern The Storage Class extern : One method of transmitting information across blocks and functions is to use external variables. When a variable is

Eliminating data hazards: Forwarding NOTE: In the following instance, computed values are in bold, whereas Register numbers are not. Forwarding involves adding output

State the optimal route of node Consider the node i which has path length K+1, with the directly preceding node on the path being j. The distance to node i is w(j, i) plus the

Suupose a stack-oriented processor that haves the stack operations PUSH and POP.  Arithmetic operations automatically involve the top one or two stack elements. Starting with an

difference between field,record and file

Implement the following function using 8 to 1 multiplexer Y(A, B, C, D) = ∑(0,1,2,5,9,11,13,15) Ans. We will obtain three variables B,C and D at selection lines and also A as i

How many TCP connections are in the "Established" state? Contain relevant output. For one of the established TCP connections, what are the IP address and port number at the remote

Q. Describe about Sole Access Protocol? The atomic operations that have conflicts are handled with the help of sole access protocol. The method used for synchronization in this

a) Write a program that figures out how long it will take to pay off a credit card by making payments of $10 every month. Take care to avoid infinite loops. (How would a bank preve

Q. Analysis of Amdahls law? The conclusions of analysis of Amdahl's law are: 1) To optimize performance of parallel computers modified compilers should be developed that sho