internal.tex 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  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 ultimative source for informations about compiler internals is
  66. the compiler source though it isn't very well documented. If you
  67. need more infomrations 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 informations 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,
  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 does accesses to the symbol table.
  89. The scanner uses a symbol table to handle preprocessor symbols, the
  90. parser inserts declaration and the code generator uses the collected
  91. informations 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 a object (symtable.pas, tdef and
  101. it's 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 be 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
  160. of the register allocation.
  161. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  162. % Basics
  163. \section{Basics}
  164. The register allocation is done in the first and second pass of
  165. the compiler.
  166. The first pass of a node has to calculate how much registers
  167. are necessary to generate code for the node, it has
  168. also to take care of child nodes i.e. how much registers
  169. they need.
  170. The register allocation is done via \var{getregister\*}
  171. %(where * is \var{32} or \var{mmx}).
  172. Registers can be released via \var{ungetregister\*}. All registers
  173. of a reference (i.e. base and index) can be released by
  174. \var{del\_reference}. These procedures take care of the register type,
  175. i.e. stack/base registers and registers allocated by register
  176. variables aren't added to the set of unused registers.
  177. If there is a problem in the register allocation an \var{internalerror(10)}
  178. occurs.
  179. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  180. % A simple example
  181. \section{A simple example}
  182. \subsection{The first pass}
  183. This is a part of the first pass for a pointer dereferencation
  184. (\var{p\^\ }), the type determination and some other stuff are left out
  185. \begin{verbatim}
  186. procedure firstderef(var p : ptree);
  187. begin
  188. // .....
  189. // first pass of the child node
  190. firstpass(p^.left);
  191. // .....
  192. // to dereference a pointer we need one one register
  193. // but if the child node needs more registers, we
  194. // have to pass this to our parent node
  195. p^.registers32:=max(p^.left^.registers32,1);
  196. // a pointer dereferencation doesn't need
  197. // fpu or mmx registers
  198. p^.registersfpu:=p^.left^.registersfpu;
  199. p^.registersmmx:=p^.left^.registersmmx;
  200. // .....
  201. end;
  202. \end{verbatim}
  203. \subsection{The second pass}
  204. The following code contains the complete second pass for
  205. a pointer dereferencing node as it is used by current
  206. compiler versions:
  207. \begin{verbatim}
  208. procedure secondderef(var p : ptree);
  209. var
  210. hr : tregister;
  211. begin
  212. // second pass of the child node, this generates also
  213. // the code of the child node
  214. secondpass(p^.left);
  215. // setup the reference (this sets all values to nil, zero or
  216. // R_NO)
  217. clear_reference(p^.location.reference);
  218. // now we have to distinguish the different locations where
  219. // the child node could be stored
  220. case p^.left^.location.loc of
  221. LOC_REGISTER:
  222. // LOC_REGISTER allows us to use simply the
  223. // result register of the left node
  224. p^.location.reference.base:=p^.left^.location.register;
  225. LOC_CREGISTER:
  226. begin
  227. // we shouldn't destroy the result register of the
  228. // result node, because it is a register variable
  229. // so we allocate a register
  230. hr:=getregister32;
  231. // generate the loading instruction
  232. emit_reg_reg(A_MOV,S_L,p^.left^.location.register,hr);
  233. // setup the result location of the current node
  234. p^.location.reference.base:=hr;
  235. end;
  236. LOC_MEM,LOC_REFERENCE:
  237. begin
  238. // first, we have to release the registers of
  239. // the reference, before we can allocate
  240. // register, del_reference release only the
  241. // registers used by the reference,
  242. // the contents of the registers isn't destroyed
  243. del_reference(p^.left^.location.reference);
  244. // now should be at least one register free, so we
  245. // can allocate one for the base of the result
  246. hr:=getregister32;
  247. // generate dereferencing instruction
  248. exprasmlist^.concat(new(pai386,op_ref_reg(
  249. A_MOV,S_L,newreference(p^.left^.location.reference),
  250. hr)));
  251. // setup the location of the new created reference
  252. p^.location.reference.base:=hr;
  253. end;
  254. end;
  255. end;
  256. \end{verbatim}
  257. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  258. % Binary nodes
  259. \section{Binary nodes}
  260. The whole thing becomes a little bit more hairy, if you have to
  261. generate code for a binary+ node (a node with two or more
  262. childs). If a node calls second pass for a child node,
  263. it has to ensure that enough registers are free
  264. to evalute the child node (\var{usableregs>=childnode\^.registers32}).
  265. If this condition isn't true, the current node has
  266. to store and restore all registers which the node owns to
  267. release registers. This should be done using the
  268. procedures \var{maybe\_push} and \var{restore}. If still
  269. \var{usableregs<childnode\^.registers32}, the child nodes have to solve
  270. the problem. The point is: if \var{usableregs<childnode\^.registers32},
  271. the current node have to release all registers which it owns
  272. before the second pass is called. An example for generating
  273. code of a binary node is \var{cg386add.secondadd}.
  274. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  275. % FPU registers
  276. \section{FPU registers}
  277. The number of required FPU registers must be also calculated with
  278. one difference: you needn't to save registers, if too few registers
  279. are free, just an error message is generated, the user
  280. have to take care of too few FPU registers, this is a consequence
  281. of the stack structure of the FPU.
  282. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  283. % Testing register allocation
  284. \section{Testing register allocation}
  285. To test new stuff, you should compile a procedure which contains some local
  286. longint variables with \file{-Or}, to limit the number of
  287. registers:
  288. \begin{verbatim}
  289. procedure test;
  290. var
  291. l,i,j,k : longint;
  292. begin
  293. l:=i; // this forces the compiler to assign as much as
  294. j:=k; // possible variables to registers
  295. // here you should insert your code
  296. end;
  297. \end{verbatim}
  298. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  299. % Future plans
  300. \section{Future plans}
  301. \label{se:future_plans}
  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 of parts of the compiler is 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 the 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}