Fix the formatting of the list of fields in the disassemble() function.

This commit is contained in:
Fred Drake 1998-04-07 14:16:41 +00:00
parent 272fb3aaa4
commit 810349b685
2 changed files with 16 additions and 4 deletions

View File

@ -50,14 +50,20 @@ is indicated.
\begin{funcdesc}{disassemble}{code\optional{, lasti}}
Disassembles a code object, indicating the last instruction if \var{lasti}
was provided. The output is divided in the following columns:
\begin{itemize}
\newcounter{discounter}
\begin{list}{\arabic{discounter}.}{%
\usecounter{discounter}
\setlength{\leftmargin}{4.5mm}
\setlength{\labelsep}{1.5mm}}
\item the current instruction, indicated as \samp{-->},
\item a labelled instruction, indicated with \samp{>>},
\item the address of the instruction,
\item the operation code name,
\item operation parameters, and
\item interpretation of the parameters in parentheses.
\end{itemize}
\end{list}
The parameter interpretation recognizes local and global
variable names, constant values, branch targets, and compare
operators.

View File

@ -50,14 +50,20 @@ is indicated.
\begin{funcdesc}{disassemble}{code\optional{, lasti}}
Disassembles a code object, indicating the last instruction if \var{lasti}
was provided. The output is divided in the following columns:
\begin{itemize}
\newcounter{discounter}
\begin{list}{\arabic{discounter}.}{%
\usecounter{discounter}
\setlength{\leftmargin}{4.5mm}
\setlength{\labelsep}{1.5mm}}
\item the current instruction, indicated as \samp{-->},
\item a labelled instruction, indicated with \samp{>>},
\item the address of the instruction,
\item the operation code name,
\item operation parameters, and
\item interpretation of the parameters in parentheses.
\end{itemize}
\end{list}
The parameter interpretation recognizes local and global
variable names, constant values, branch targets, and compare
operators.