## Invitation to Computer Science 8th Edition

$\begin{array}{lll} {\text {$\qquad $}} & {\text {INCREMENT } }& {\text {X} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {X:}} & {\text {.DATA} } & {\text {0} } \\ \end{array}$ --- $\text {Another way to do the same thing is}$ $\begin{array}{lll} {\text {$\qquad $}} & {\text {STORE$\qquad $} }& {\text {X} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {ONE:}} & {\text {.DATA} } & {\text {1} } \\ {\text {X:}} & {\text {.DATA} } & {\text {0} } \\ \end{array}$ $\text {However, the first way is much more efficient. It takes two fewer}$ $\text {instructions and one fewer DATA pseudo-op.}$
$\begin{array}{lll} {\text {$\qquad $}} & {\text {INCREMENT } }& {\text {X} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {X:}} & {\text {.DATA} } & {\text {0} } \\ \end{array}$ --- $\text {Another way to do the same thing is}$ $\begin{array}{lll} {\text {$\qquad $}} & {\text {STORE$\qquad $} }& {\text {X} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {}} & {\text {.} } & {\text {} } \\ {\text {ONE:}} & {\text {.DATA} } & {\text {1} } \\ {\text {X:}} & {\text {.DATA} } & {\text {0} } \\ \end{array}$ $\text {However, the first way is much more efficient. It takes two fewer}$ $\text {instructions and one fewer DATA pseudo-op.}$