27 views

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$