• recategorized by
7,481 views
22 22 votes

Which of the following statements is true?

  1. ROM is a Read/Write memory

  2. PC points to the last instruction that was executed

  3. Stack works on the principle of LIFO

  4. All instructions affect the flags

3 Answers

Best answer
27 27 votes

It is (C).

Only the top of the stack can be accessed at any time. You can imagine a stack to be opened from only one side data structure. So that if we put one thing over the other, we are able to access the last thing we inserted first. That is Last in First Out (LIFO).

  • ROM is Read-Only Memory.
  • PC points to the next instruction to be executed.
  • Not all instructions affect the flags.
• edited by
1 1 vote
option 1:--> False , Because Rom is read only memory.

option 2--> False , because PC Store Next instruction Address .

option 3--> True , Because Stack work on LIFO principle

option 3--> Flase ,Because not all instruction required flags , Example :--push,pop,load,store etc
Answer:
Position:
Show:

Related questions

39 39 votes
4 answers 4 answers
19.1k
19.1k views
Kathleen asked Oct 8, 2014
19,126 views
In a vectored interrupt:The branch address is assigned to a fixed location in memoryThe interrupting source supplies the branch information to the processor through an in...
31 31 votes
2 answers 2 answers
15.3k
15.3k views
Kathleen asked Oct 8, 2014
15,314 views
A computer system has a $4 \ K$ word cache organized in block-set-associative manner with $4$ blocks per set, $64$ words per block. The number of bits in the SET and WORD...
0 0 votes
1 1 answer
4.5k
4.5k views
Kathleen asked Oct 8, 2014
4,486 views
A sequence of two instructions that multiplies the contents of the DE register pair by 2 and stores the result in the HL register pair (in 8085 assembly language) is:XCHG...
30 30 votes
3 answers 3 answers
12.9k
12.9k views
Kathleen asked Oct 8, 2014
12,879 views
The principle of locality justifies the use of:InterruptsDMAPollingCache Memory