diff doc/internals.txt @ 363:d96c30e60ddf

Added pass2 and various supporting logic including symbol lookups
author lost@starbug
date Tue, 06 Apr 2010 21:03:19 -0600
parents e7885b3ee266
children 6a98cc90c14f
line wrap: on
line diff
--- a/doc/internals.txt	Thu Apr 01 20:56:19 2010 -0600
+++ b/doc/internals.txt	Tue Apr 06 21:03:19 2010 -0600
@@ -9,14 +9,16 @@
 
 This pass reads the entire source code and parses each line into an internal
 representation. Macros, file inclusions, and conditional assembly
-instructions are resolved at this point as well.
+instructions are resolved at this point as well. Instructions with known
+sizes will have their sizes resolved at this point.
 
 Pass 2
 ------
 
-This pass assigns instruction sizes to all invariate instructions. Invariate
-instructions are any instructions with a fixed size, including those with
-forced addressing modes.
+Check all exported symbols for validity and set them as imports if the
+assembler state says so. Also resolve all symbol references in all
+expressions to be direct references either to the symbol table or
+to the import list.
 
 Pass 3
 ------