in Others edited by
27 views
0 votes

The content of the registers are $R_{1} = 25H, R_{2} = 30H$ and $R_{3} = 40H$. The following machine instructions are executed.

$\text{PUSH } \{R_{1}\}$

$\text{PUSH } \{R_{2}\}$

$\text{PUSH } \{R_{3}\}$

$\text{POP } \{R_{1}\}$

$\text{POP } \{R_{2}\}$

$\text{POP } \{R_{3}\}$

After execution, the content of registers $R_{1},\:R_{2},\:R_{3}$ are

  1. $R_{1}=40H,\:R_{2}=30H,\:R_{3}=25H$
  2. $R_{1}=25H,\:R_{2}=30H,\:R_{3}=40H$
  3. $R_{1}=30H,\:R_{2}=40H,\:R_{3}=25H$
  4. $R_{1}=40H,\:R_{2}=25H,\:R_{3}=30H$
in Others edited by
by
4.5k points
27 views

Please log in or register to answer this question.

Answer:
Ask
Welcome to GO Electronics, where you can ask questions and receive answers from other members of the community.