retagged by
2,872 views
3 votes
3 votes

A stack organized computer has which of the following instructions?

  1. zero-address
  2. one-address
  3. two-address
  4. three-address
retagged by

5 Answers

0 votes
0 votes

Answer (A) :

A instruction is of various length depending upon the number of addresses it contain. Generally CPU organization are of three types on the basis of number of address fields:

1)Single Accumulator organization

2)General register organization

3)Stack organization

A stack based computer do not use address field in instruction.To evaluate a expression first it is converted to revere Polish Notation i.e. Post fix Notation

0 votes
0 votes

Stack Addressing Mode

In this mode, operand is at the top of the stack. For example: ADD , this instruction will POP top two items from the stack, add them, and will then PUSH the result to the top of the stack.

So in this we don't need to explicitly specify the address. So A is correct.

Ref: https://www.studytonight.com/computer-architecture/addressingmodes-instructioncycle

Answer:

Related questions

1 votes
1 votes
3 answers
1
admin asked Mar 30, 2020
4,427 views
Which of the following is/are not features of RISC processor?Large number of addressing modes.Uniform instruction set.(i) Only(ii) OnlyBoth (i) and (ii)None of the option...
0 votes
0 votes
4 answers
3
admin asked Mar 30, 2020
1,592 views
In a cache memory if total number of sets are ‘$s$’, then the set offset is:$2^8$$\log_2s$$s^2$$s$