|
@@ -26,7 +26,7 @@
|
|
|
|
|
|
\def\racketEd{0}
|
|
\def\racketEd{0}
|
|
\def\pythonEd{1}
|
|
\def\pythonEd{1}
|
|
-\def\edition{0}
|
|
|
|
|
|
+\def\edition{1}
|
|
|
|
|
|
% material that is specific to the Racket edition of the book
|
|
% material that is specific to the Racket edition of the book
|
|
\newcommand{\racket}[1]{{\if\edition\racketEd{#1}\fi}}
|
|
\newcommand{\racket}[1]{{\if\edition\racketEd{#1}\fi}}
|
|
@@ -8635,7 +8635,7 @@ $\Atm$ to x86:
|
|
\MID \BININSTR{\code{cmpq}}{\Arg}{\Arg}\\
|
|
\MID \BININSTR{\code{cmpq}}{\Arg}{\Arg}\\
|
|
&\MID& \BININSTR{\code{set}}{\itm{cc}}{\Arg}
|
|
&\MID& \BININSTR{\code{set}}{\itm{cc}}{\Arg}
|
|
\MID \BININSTR{\code{movzbq}}{\Arg}{\Arg}\\
|
|
\MID \BININSTR{\code{movzbq}}{\Arg}{\Arg}\\
|
|
- &\MID& \JMPIF{'\itm{cc}'}{\itm{label}}
|
|
|
|
|
|
+ &\MID& \JMPIF{\itm{cc}}{\itm{label}}
|
|
\end{array}
|
|
\end{array}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -8671,7 +8671,7 @@ $\Atm$ to x86:
|
|
&\MID& \gray{ \POPQ{\Arg} \MID \racket{\JMP{\itm{label}}} } \python{\JMP{\itm{label}}}\\
|
|
&\MID& \gray{ \POPQ{\Arg} \MID \racket{\JMP{\itm{label}}} } \python{\JMP{\itm{label}}}\\
|
|
&\MID& \BININSTR{\scode{xorq}}{\Arg}{\Arg}
|
|
&\MID& \BININSTR{\scode{xorq}}{\Arg}{\Arg}
|
|
\MID \BININSTR{\scode{cmpq}}{\Arg}{\Arg}\\
|
|
\MID \BININSTR{\scode{cmpq}}{\Arg}{\Arg}\\
|
|
- &\MID& \BININSTR{\scode{set}}{\itm{cc}}{\Arg}
|
|
|
|
|
|
+ &\MID& \UNIINSTR{\scode{set}\code{+}\itm{cc}}{\Arg}
|
|
\MID \BININSTR{\scode{movzbq}}{\Arg}{\Arg}\\
|
|
\MID \BININSTR{\scode{movzbq}}{\Arg}{\Arg}\\
|
|
&\MID& \JMPIF{\itm{cc}}{\itm{label}} \\
|
|
&\MID& \JMPIF{\itm{cc}}{\itm{label}} \\
|
|
\Block &::= & \Instr^{+} \\
|
|
\Block &::= & \Instr^{+} \\
|