Changed a few Makefiles & Fixed 3 bugs.
[fw/sdcc] / doc / random-notes.txt
index 75ec188c6a2b235926ef9c4370fe744159c53d49..6c66ca4730e196778814f6b05a44fec0c4e0ca4c 100644 (file)
@@ -2,6 +2,36 @@ Random notes
 ------------
 A random set of notes about sdcc and how it works.
 
+Sandeep:
+--------
+The Register Allocation story.
+
+Before I get into this there are a few important fields
+on the iCode & oprtand data structures that need to be
+addressed.
+
+iCode.
+-----
+       ->key  -  is an unique number assigned to this
+                  iCode when this icode is allocated.
+
+        ->seq  - sequence number of the iCode given in
+                acesnding order of execution.
+
+operand.
+-------
+       ->key  - unique number for an operand when operand
+                 is allocated.
+
+OP_LIVEFROM(op) - sequence number of the iCode where it was
+                  first defined. Computed in SDCClrange.c
+
+OP_LIVETO(op)   - sequence number of the iCode where it is
+                  last used. Computed in SDCClrange.c
+
+
+                 
+
 Sandeep:
 --------
 Adding memory maps for AVR, setup default map for