internal.tex 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. %
  2. % $Id$
  3. % This file is part of the FPC documentation.
  4. % Copyright (C) 1998 by Florian Klaempfl
  5. %
  6. % The FPC documentation is free text; you can redistribute it and/or
  7. % modify it under the terms of the GNU Library General Public License as
  8. % published by the Free Software Foundation; either version 2 of the
  9. % License, or (at your option) any later version.
  10. %
  11. % The FPC Documentation is distributed in the hope that it will be useful,
  12. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. % Library General Public License for more details.
  15. %
  16. % You should have received a copy of the GNU Library General Public
  17. % License along with the FPC documentation; see the file COPYING.LIB. If not,
  18. % write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19. % Boston, MA 02111-1307, USA.
  20. %
  21. \documentclass{report}
  22. \usepackage{a4}
  23. \usepackage{html}
  24. \makeindex
  25. \latex{\usepackage{multicol}}
  26. \latex{\usepackage{fpcman}}
  27. \latex{\usepackage{epsfig}}
  28. \html{\input{fpc-html.tex}}
  29. \newcommand{\remark}[1]{\par$\rightarrow$\textbf{#1}\par}
  30. \newcommand{\olabel}[1]{\label{option:#1}}
  31. % We should change this to something better. See \seef etc.
  32. \newcommand{\seeo}[1]{See \ref{option:#1}}
  33. \begin{document}
  34. \title{Free Pascal :\\ Compiler documentation}
  35. \docdescription{Compiler documentation for \fpc, version \fpcversion}
  36. \docversion{1.0}
  37. \date{September 1998}
  38. \author{Micha\"el Van Canneyt\\Florian Kl\"ampfl}
  39. \maketitle
  40. \tableofcontents
  41. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  42. % Introduction
  43. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  44. \chapter{Introduction}
  45. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  46. % About this document
  47. \section{About this document}
  48. This document tries to make the internal workings of \fpc more clear.
  49. It is assumed that the reader has some knowledge about compiler
  50. building.
  51. This document describes the compiler as it is/functions at the time of
  52. writing. Since the compiler is under continuous development, some of the
  53. things described here may be outdated. In case of doubt, consult the
  54. \file{README} files distributed with the compiler.
  55. The \file{README} files are, in case of conflict with this manual,
  56. authoritative.
  57. I hope, my poor english is quite understandable. Feel free to correct
  58. spelling mistakes.
  59. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  60. % About the compiler
  61. \section{About the compiler}
  62. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  63. % Getting more information.
  64. \section{Getting more information.}
  65. The ultimate source for information about compiler internals is
  66. the compiler source, though it isn't very well documented. If you
  67. need more infomration you should join the developers mailing
  68. list or you can contact the developers.
  69. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  70. % Overview
  71. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  72. \chapter{Overview}
  73. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  74. % The scanner
  75. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  76. %% \chapter{The scanner}
  77. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  78. % The symbol tables
  79. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  80. \chapter{The symbol tables}
  81. The symbol table is used to store information about all
  82. symbols, declarations and definitions in a program.
  83. In an abstract view, a symbol table is a data base with a string field
  84. as index. \fpc implements the symbol table mainly as a binary tree, but
  85. for big symbol tables some hash technics are used. The implementation
  86. can be found in symtable.pas, object tsymtable.
  87. The symbol table module can't be associated with a stage of the compiler,
  88. each stage accesses it.
  89. The scanner uses a symbol table to handle preprocessor symbols, the
  90. parser inserts declaration and the code generator uses the collected
  91. information about symbols and types to generate the code.
  92. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  93. % Definitions
  94. \section{Definitions}
  95. Definitions are one of the most important data structures in \fpc.
  96. They are used to describe types, for example the type of a variable
  97. symbol is given by a definition and the result type
  98. of a expression is given as a definition.
  99. They have nothing to do with the definition of a procedure.
  100. Definitions are implemented as an object (in file \file{symtable.pas},
  101. \var{tdef} and its descendents). There are a lot of different
  102. definitions, for example to describe
  103. ordinal types, arrays, pointers, procedures, ...
  104. To make it more clear let's have a look at the fields of tdef:
  105. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  106. % Symbols
  107. %% \section{Symbols}
  108. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  109. % Working with symbol tables
  110. %% \section{Working with symbol tables}
  111. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  112. % The parse tree
  113. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  114. %% \chapter{The parse tree}
  115. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  116. % The parser
  117. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  118. %% \chapter{The parser}
  119. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  120. % The semantical analysis
  121. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  122. %% \chapter{The semantical analysis}
  123. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  124. % The code generation
  125. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  126. %% \chapter{The code generation}
  127. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  128. % The assembler writers
  129. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  130. \chapter{The assembler writers}
  131. \fpc doesn't generate machine language, it generates
  132. assembler which must be assembled and linked.
  133. The assembler output is configurable, \fpc can create
  134. assembler for the GNU AS, the NASM (Netwide assembler) and
  135. the assemblers of Borland and Microsoft. The default assembler
  136. is the GNU AS, because it is fast and and available on
  137. many platforms. Why don't we use the NASM? It is 2-4 times
  138. slower than the GNU AS and it is created for
  139. hand-written assembler, while the GNU AS is designed
  140. as back end for a compiler.
  141. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  142. % Miscalleanous
  143. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  144. %% \chapter{Miscalleanous}
  145. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  146. % The register allocation
  147. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  148. \chapter{The register allocation}
  149. The register allocation is very hairy, so it gets
  150. an own chapter in this manual. Please be careful when changing things
  151. regarding the register allocation and test such changes intensive.
  152. Future versions will may implement another kind of register allocation
  153. to make this part of the compiler more robust, see
  154. \ref{se:future_plans}. But the current
  155. system is less or more working and changing it would be a lot of
  156. work, so we have to live with it.
  157. The current register allocation mechanism was implemented 5 years
  158. ago and I didn't think that the compiler would become
  159. so popular, so not much time was spent in the design of it.
  160. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  161. % Basics
  162. \section{Basics}
  163. The register allocation is done in the first and the second pass of
  164. the compiler.
  165. The first pass of a node has to calculate how much registers
  166. are necessary to generate code for the node, but it also has
  167. to take care of child nodes i.e. how much registers
  168. they need.
  169. The register allocation is done via \var{getregister\*}
  170. %(where * is \var{32} or \var{mmx}).
  171. Registers can be released via \var{ungetregister\*}. All registers
  172. of a reference (i.e. base and index) can be released by
  173. \var{del\_reference}. These procedures take care of the register type,
  174. i.e. stack/base registers and registers allocated by register
  175. variables aren't added to the set of unused registers.
  176. If there is a problem in the register allocation an \var{internalerror(10)}
  177. occurs.
  178. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  179. % A simple example
  180. \section{A simple example}
  181. \subsection{The first pass}
  182. This is a part of the first pass for a pointer dereferencation
  183. (\var{p\^\ }), the type determination and some other stuff are left out.
  184. \begin{verbatim}
  185. procedure firstderef(var p : ptree);
  186. begin
  187. // .....
  188. // first pass of the child node
  189. firstpass(p^.left);
  190. // .....
  191. // to dereference a pointer we need one one register
  192. // but if the child node needs more registers, we
  193. // have to pass this to our parent node
  194. p^.registers32:=max(p^.left^.registers32,1);
  195. // a pointer dereferencation doesn't need
  196. // fpu or mmx registers
  197. p^.registersfpu:=p^.left^.registersfpu;
  198. p^.registersmmx:=p^.left^.registersmmx;
  199. // .....
  200. end;
  201. \end{verbatim}
  202. \subsection{The second pass}
  203. The following code contains the complete second pass for
  204. a pointer dereferencing node as it is used by current
  205. compiler versions:
  206. \begin{verbatim}
  207. procedure secondderef(var p : ptree);
  208. var
  209. hr : tregister;
  210. begin
  211. // second pass of the child node, this generates also
  212. // the code of the child node
  213. secondpass(p^.left);
  214. // setup the reference (this sets all values to nil, zero or
  215. // R_NO)
  216. clear_reference(p^.location.reference);
  217. // now we have to distinguish the different locations where
  218. // the child node could be stored
  219. case p^.left^.location.loc of
  220. LOC_REGISTER:
  221. // LOC_REGISTER allows us to use simply the
  222. // result register of the left node
  223. p^.location.reference.base:=p^.left^.location.register;
  224. LOC_CREGISTER:
  225. begin
  226. // we shouldn't destroy the result register of the
  227. // result node, because it is a register variable
  228. // so we allocate a register
  229. hr:=getregister32;
  230. // generate the loading instruction
  231. emit_reg_reg(A_MOV,S_L,p^.left^.location.register,hr);
  232. // setup the result location of the current node
  233. p^.location.reference.base:=hr;
  234. end;
  235. LOC_MEM,LOC_REFERENCE:
  236. begin
  237. // first, we have to release the registers of
  238. // the reference, before we can allocate
  239. // register, del_reference release only the
  240. // registers used by the reference,
  241. // the contents of the registers isn't destroyed
  242. del_reference(p^.left^.location.reference);
  243. // now there should be at least one register free, so
  244. // we can allocate one for the base of the result
  245. hr:=getregister32;
  246. // generate dereferencing instruction
  247. exprasmlist^.concat(new(pai386,op_ref_reg(
  248. A_MOV,S_L,newreference(p^.left^.location.reference),
  249. hr)));
  250. // setup the location of the new created reference
  251. p^.location.reference.base:=hr;
  252. end;
  253. end;
  254. end;
  255. \end{verbatim}
  256. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  257. % Binary nodes
  258. \section{Binary nodes}
  259. The whole thing becomes a little bit more hairy if you have to
  260. generate code for a binary+ node (a node with two or more
  261. childs). If a node calls second pass for a child node,
  262. it has to ensure that enough registers are free
  263. to evaluate the child node (\var{usableregs>=childnode\^.registers32}).
  264. If this condition isn't met, the current node has
  265. to store and restore all registers which the node owns to
  266. release registers. This should be done using the
  267. procedures \var{maybe\_push} and \var{restore}. If still
  268. \var{usableregs<childnode\^.registers32}, the child nodes have to solve
  269. the problem. The point is: if \var{usableregs<childnode\^.registers32},
  270. the current node has to release all registers which it owns
  271. before the second pass is called. An example for generating
  272. code of a binary node is \var{cg386add.secondadd}.
  273. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  274. % FPU registers
  275. \section{FPU registers}
  276. The number of required FPU registers also has to be calculated, but
  277. there's one difference: you don't have to save registers. If not
  278. enough FPU registers are free, an error message is generated, as the user
  279. has to take care of this situation since this is a consequence
  280. of the stack structure of the FPU.
  281. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  282. % Testing register allocation
  283. \section{Testing register allocation}
  284. To test new stuff, you should compile a procedure which contains some local
  285. longint variables with \file{-Or}, to limit the number of
  286. registers:
  287. \begin{verbatim}
  288. procedure test;
  289. var
  290. l,i,j,k : longint;
  291. begin
  292. l:=i; // this forces the compiler to assign as much as
  293. j:=k; // possible variables to registers
  294. // here you should insert your code
  295. end;
  296. \end{verbatim}
  297. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  298. % Future plans
  299. \section{Future plans}
  300. \label{se:future_plans}
  301. \Appendix
  302. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  303. % Coding style guide
  304. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  305. \chapter{Coding style guide}
  306. This chapter describes what you should consider if you modify the
  307. compiler sources.
  308. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  309. % The formatting of the source
  310. \section{The formatting of the sources}
  311. Rules how to format the sources.
  312. \begin{itemize}
  313. \item All compiler files should be saved in UNIX format i.e. only
  314. a line feed (\#10), no carrige return (\#13).
  315. \item Don't use tabs
  316. \end{itemize}
  317. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  318. % Some hints how to write the code
  319. \section{Some hints how to write the code}
  320. \begin{itemize}
  321. \item Assigned should be used instead of checking for nil directly, as
  322. it can help solving pointer problems when in real mode.
  323. \end{itemize}
  324. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  325. % Compiler Defines
  326. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  327. \chapter{Compiler Defines}
  328. The compiler can be configured using command line defines, the
  329. basic set is decribed here, switches which change rapidly or
  330. which are only used temporarly are described in the header
  331. of \file{PP.PAS}.
  332. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  333. % Target Processor
  334. \section{Target processor}
  335. The target processor must be set always and it can be:
  336. \begin{description}
  337. \item [\var{I386}] for Intel 32 bit processors of the i386 class
  338. \item [\var{M68K}] for Motorola processors of the 68000 class
  339. \end{description}
  340. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  341. % Include compiler Parts
  342. \section{Include compiler Parts}
  343. \subsection{General}
  344. \begin{description}
  345. \item[\var{GDB}] include GDB stab debugging (\file{-g}) support
  346. \item[\var{UseBrowser}] include Browser (\file{-b}) support
  347. \end{description}
  348. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  349. % Leave Out specific Parts
  350. \section{Leave Out specific Parts}
  351. Leaving out parts of the compiler can be useful if you want to create
  352. a compiler which should also run on systems with less memory
  353. requirements (for example a real mode version compiled with Turbo Pascal).
  354. \subsection{General}
  355. \begin{description}
  356. \item[\var{NoOpt}] will leave out the optimizer
  357. \end{description}
  358. \subsection{I386 specific}
  359. The following defines apply only to the i386 version of the compiler.
  360. \begin{description}
  361. \item[\var{NoAg386Int}] No Intel styled assembler (for MASM/TASM) writer
  362. \item[\var{NoAg386Nsm}] No NASM assembler writer
  363. \item[\var{NoAg386Att}] No AT\&T assembler (for the GNU AS) writer
  364. \item[\var{NoRA386Int}] No Intel assembler parser
  365. \item[\var{NoRA386Dir}] No direct assembler parser
  366. \item[\var{NoRA386Att}] No AT\&T assembler parser
  367. \end{description}
  368. \subsection{M68k specific}
  369. The following defines apply only to the M68k version of the compiler.
  370. \begin{description}
  371. \item[\var{NoAg68kGas}] No gas asm writer
  372. \item[\var{NoAg68kMit}] No mit asm writer
  373. \item[\var{NoAg68kMot}] No mot asm writer
  374. \item[\var{NoRA68kMot}] No Motorola assembler parser
  375. \end{description}
  376. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  377. % Location of the code generator functions
  378. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  379. \chapter{Location of the code generator functions}
  380. This appendix describes where to find the functions of
  381. the code generator. The file names are given for the
  382. i386, for the m68k rename the 386 to 68k
  383. \begin{description}
  384. \item[\file{cg386con}] Constant generation
  385. \begin{description}
  386. \item[\var{secondordconst}]
  387. \item[\var{secondrealconst}]
  388. \item[\var{secondstringconst}]
  389. \item[\var{secondfixconst}]
  390. \item[\var{secondsetconst}]
  391. \item[\var{secondniln}]
  392. \end{description}
  393. \item[\file{cg386mat}] Mathematic functions
  394. \begin{description}
  395. \item[\var{secondmoddiv}]
  396. \item[\var{secondshlshr}]
  397. \item[\var{secondumminus}]
  398. \item[\var{secondnot}]
  399. \end{description}
  400. \item[\file{cg386cnv}] Type conversion functions
  401. \begin{description}
  402. \item[\var{secondtypeconv}]
  403. \item[\var{secondis}]
  404. \item[\var{secondas}]
  405. \end{description}
  406. \item[\file{cg386add}] Add/concat functions
  407. \begin{description}
  408. \item[\var{secondadd}]
  409. \end{description}
  410. \item[\file{cg386mem}] Memory functions
  411. \begin{description}
  412. \item[\var{secondvecn}]
  413. \item[\var{secondaddr}]
  414. \item[\var{seconddoubleaddr}]
  415. \item[\var{secondsimplenewdispose}]
  416. \item[\var{secondhnewn}]
  417. \item[\var{secondhdisposen}]
  418. \item[\var{secondselfn}]
  419. \item[\var{secondwith}]
  420. \item[\var{secondloadvmt}]
  421. \item[\var{secondsubscriptn}]
  422. \item[\var{secondderef}]
  423. \end{description}
  424. \item[\file{cg386flw}] Flow functions
  425. \begin{description}
  426. \item[\var{secondifn}]
  427. \item[\var{second\_while\_repeatn}]
  428. \item[\var{secondfor}]
  429. \item[\var{secondcontinuen}]
  430. \item[\var{secondbreakn}]
  431. \item[\var{secondexitn}]
  432. \item[\var{secondlabel}]
  433. \item[\var{secondgoto}]
  434. \item[\var{secondtryfinally}]
  435. \item[\var{secondtryexcept}]
  436. \item[\var{secondraise}]
  437. \item[\var{secondfail}]
  438. \end{description}
  439. \item[\file{cg386ld}] Load/Store functions
  440. \begin{description}
  441. \item[\var{secondload}]
  442. \item[\var{secondassignment}]
  443. \item[\var{secondfuncret}]
  444. \end{description}
  445. \item[\file{cg386set}] Set functions
  446. \begin{description}
  447. \item[\var{secondcase}]
  448. \item[\var{secondin}]
  449. \end{description}
  450. \item[\file{cg386cal}] Call/inline functions
  451. \begin{description}
  452. \item[\var{secondparacall}]
  453. \item[\var{secondcall}]
  454. \item[\var{secondprocinline}]
  455. \item[\var{secondinline}]
  456. \end{description}
  457. \item[\file{cgi386}] Main secondpass handling
  458. \begin{description}
  459. \item[\var{secondnothing}]
  460. \item[\var{seconderror}]
  461. \item[\var{secondasm}]
  462. \item[\var{secondblockn}]
  463. \item[\var{secondstatement}]
  464. \end{description}
  465. \end{description}
  466. \end{document}