133k views
0 votes
Which of the following are true about the PUSH instruction?

A. It decrements the stack pointer (by 2 or 4) and copies the operand into the stack at the location pointed to by the stack pointer.
B. It increments the stack pointer (by 2 or 4) and copies the operand into the stack at the location pointed to by the stack pointer.
C. It increments the stack pointer by 1 and copies the operand into the stack at the location pointed to by the stack pointer.
D. It copies the operand into the stack at the location pointed to by the stack pointer, and then decrements the stack pointer (by 2 or 4).

User Kharda
by
6.5k points

1 Answer

2 votes

Answer:

Option A.

Step-by-step explanation:

Only option A satisfies the definition of push statements. So it is only the correct option.

User Psychobunny
by
6.7k points