Home » Archimedes archive » Zipped Apps » BCPL » BCPL/b/cgheader

BCPL/b/cgheader

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Zipped Apps » BCPL
Filename: BCPL/b/cgheader
Read OK:
File size: 319F bytes
Load address: 0000
Exec address: 0000
File contents
/* Header file for BCPL code-generator for ARM.
   HCM	 07 Feb 86 12:03:29
*/

GET "Libhdr"

GET "b.Ops"

MANIFEST {
   VersionMark		= #x4e524556;

   CGMajorVersion = 2;
   CGMinorVersion = 18 }

MANIFEST {
   TargetWordSize = 32 }

MANIFEST {
   // Format 1 opcodes
   f.add = #x0800000; f.sub = #x0400000; f.rsb = #x0600000;
   f.adc = #x0a00000; f.sbc = #x0c00000; f.rsc = #x0e00000;
   f.and = #x0000000; f.eor = #x0200000; f.orr = #x1800000; f.bic = #x1c00000;
   f.cmp = #x1400000; f.cmn = #x1600000; f.teq = #x1200000; f.tst = #x1000000;
   f.subs= #x0500000;
   f.cmps= #x1500000; f.cmns= #x1700000; f.teqs= #x1300000; f.tsts= #x1100000;
   f.mov = #x1a00000; f.mvn = #x1e00000;
   f.movs= #x1b00000;
   f.cond= #x0100000;

   // Format 2
   f.ldr = #x04100000; f.str = #x04000000;
   f.ldrb= #x04500000; f.strb= #x04400000;
   f.ld  = #x00100000; f.st  = #x00000000;

   // Format 4
   f.ldm = #x08100000; f.stm = #x08000000;
   f.pc  = #x00400000;

   // The following are valid for both format 3 and 4
   f.pre = #x01000000; f.post = #x00000000; f.wb   = #x00200000;
   f.up  = #x00800000; f.down = #x00000000;

   f.preup   = f.pre+f.up;  f.postup   = f.post+f.up;
   f.predown = f.pre+f.down; f.postdown = f.post+f.down;

   // and this is valid for formats 1 and 2
   f.addrisr = #x02000000; f.addrisk = #x00000000;

   // Format 5
   f.b	 = #x0a000000; f.bl  = #x0b000000;

   // format 4 register combinations
   f4.pblpc = #x9500; f4.pbl14 = #x5500;
   f4.pl = #x1400; f4.pl14 = #x5400;
   f4.plpc = #x9400;

   f.mul = #x0000000; f.mla = #x0200000;

   f2.max.offset = #xfff }

MANIFEST {
   // Register values
   r.0	= 0;
   r.a1 = 1;  r.a2 = 2;  r.a3 = 3;  r.a4 = 4;
   r.w1 = 5;
   r.nilbase = 6; r.gb = 7;
   r.g = 9; r.p = 10; r.ts = 11;
   r.l = 12; r.b = 8;
   r.nil = 13;
   r.14 = 14;
   r.pc = 15 }

MANIFEST {
   // condition mask values
   m.eq     = #x00000000; m.ne	   = #x10000000;
   m.geu    = #x20000000; m.ltu    = #x30000000;
   m.mi     = #x40000000; m.pl	   = #x50000000;
   m.vs     = #x60000000; m.vc	   = #x70000000;
   m.gtu    = #x80000000; m.leu    = #x90000000;
   m.ge     = #xa0000000; m.lt	   = #xb0000000;
   m.gt     = #xc0000000; m.le	   = #xd0000000;
   m.always = #xe0000000; m.never  = #xf0000000 }

MANIFEST {
   // shift types
   sh.asl = #x00; sh.lsr = #x20; sh.asr = #x40; sh.ror = #x60;
   sh.lsl = #x00 }

MANIFEST {
   // library entry points (relative to r.gb)
   sr.multiply	 = #x04;
   sr.quotrem	 = #x34;
   sr.entrycount = #xa0;
   sr.count	 = #xbc;
   sr.exit	 = #xcc;
   sr.fin	 = #x00 }

MANIFEST {
   k4 = 4096;

   RegSize = 6;

   SSSize = 5; TempSize = 40*SSSize;

   Null = -1;

   k.number = 1;
   k.loc = 2; k.glob = 3; k.static = 4; k.lab = 5;
   k.lvloc = 6; k.lvglob = 7; k.lvstatic = 8; k.lvlab = 9;
   k.reg = 10; k.freg = 11;
   k.lvsloc = 12; k.lvsglob = 13; k.lvsstatic = 14; k.lvslab = 15;
   k.lvs = 6;
   k.ireg = 16;   // used only in pending loads/ stores
   k.shreg = 17;  // representation of pending shift

   rtype = 1; lockedrtype = 2;
   atype = 3;
   shiftedrtype = 4;
   ktype = 5;
   lvstype = 6;

   // selector classification
   ByteField = 0; LByteField = 1; GenField = 2;

   // used in marking deferred CAR/CDRs
   CarMark = #x4000; VACarMark = #x4001;

   // Label vector vector data
   LabelBlockSize = 128
   LabelBlockShift = 7
   LabelBlockMask = 127

   LabelBlockVSize = 128

   last.label.number =	(LabelBlockVSize * LabelBlockSize) / 2

   // Relocatable binary types

   t.hunk = 1000; t.end = 1002

   DataBlockSize = 16;
   NextBlock = 0; EndOfDataInBlock = 1; DataBlockItems = 2;

   // structure of label references
   NextRef = 0; RefType = 1; RefLoc = 2;
   RefSize = 3;

   sl.type = 1; sl.loc = 2;
   sl.size = 3;

   // Structure of pending store item
   ps.reg = 3; ps.istos = 5;
   pl.offset = 4;
   ps.size = 6;

   // flag bits in label entries
   lab.set	   = #x80000000;

   lab.defined	   = #x40000000;      // these bits for code labels
   lab.forwardjump = #x20000000;
   lab.onlyonejump = #x10000000;
   lab.frameneeded = #x08000000;      // marks procedures which need a
				      // stack frame (contain calls or
				      // reference statics).
   lab.prochascalls= #x04000000;
   lab.jumpedto    = #x02000000;
   lab.called	   = #x01000000;
   lab.endproclab  = #x00800000;
   lab.procstatics = #x00400000;
   lab.procorlabel = #x00200000;

   lab.lvtaken	   = #x00100000;      // and these for data labels
   lab.stored	   = #x00080000;
   lab.lvptaken    = #x00040000;      // marks procedures whose local
				      // variables may be destroyed by
				      // indirect assignment.

   lab.value	   = #x0003ffff;
   lab.area	   = #x00000003;

   // values for deadCode
   Alive = 0;
   Dead = 1;

   // Error action values
   HardError = FALSE;
   FatalError = TRUE;
   OnlyWarning = 1;

   // bits in CGDebugMode
   db.traceps = 1; db.tracescan = 2; db.tracepw = 4; db.srs = 8;
   db.tlabs = #x10; db.shuffle = #x20;
   db.cs = #x40;
   db.poc = #x80;
   db.regs =#x100;
   db.mult = #x200;
   db.mapstore = #x8000;

   // bits in CGOptMode
   op.shuffle = 1;
   op.strings = 2;

   s.itemx = 255 }

MANIFEST {  // stuff to do with AOF
   SADefined = #x01;
   SAGlobal = #x02;
   SAAbs = #x04;
   SACaseInsensitive = #x08;

   RelByte = #x00000;
   RelHalf = #x10000;
   RelWord = #x20000;
   RelPCRel = #x40000;
   RelSymbol = #x80000 };

MANIFEST {
   // Constants for compiled code organisation
   MaxStaticFrame = 10	  // excluding overhead
}

MANIFEST {
			// cgv 370
   cgm = cgv+100;	// 470
   cga = cgm+20;	// 490
   cgb = cga+15;	// 505
   cgc = cgb+15;	// 520
   cgd = cgc+25;	// 565
   cge = cgd+25;	// 570
   cgf = cge+40;	// 610
   cgg = cgf+30;	// 640
   cgh = cgg+20;	// 660
   cgi = cgh+65;	// 725
   cgj = cgi+20;	// 745
   cgk = cgj+40 	// 785
}

GLOBAL {
   HostProcessor: 2 }

GLOBAL {
   // variables
   lineCounts: cgv+0;

   reversedStack: cgv+6;
   upStack: cgv+7;  // LDM/STM argument
   nextStackWord: cgv+8  // 4 or -4, depending on stack direction

   tempv: cgv+10; tempt: cgv+11;
   arg1: cgv+12; arg2: cgv+13;
   ssp: cgv+14; TOSoffset: cgv+15;

   ps.tracedepth: cgv+16;

   staticOffset: cgv+19;
   linkageNotStored: cgv+20;
   staticDataSize: cgv+21;

   deadCode: cgv+22; locCtr: cgv+23;
   storeBlockV: cgv+24;
   labelblockV: cgv+25;
   maxGN: cgv+26;

   procLabel: cgv+27; blockLabel: cgv+28;
   pendingJump: cgv+30;
   sectionName: cgv+31;
   op: cgv+32;
   countFlag: cgv+34; countLabel: cgv+35;

   lineCount: cgv+37;
   base: cgv+38; baselab: cgv+39; baseaddr: cgv+40;
   namel: cgv+41; namet: cgv+42;

   SdataList: cgv+43; SdataP: cgv+44; SLab: cgv+45; SAddr: cgv+46;
   FdataList: cgv+47; FdataP: cgv+48; Flab: cgv+49; Faddr: cgv+50;
   DataList: cgv+51; DataP: cgv+52;

   endSectLabel: cgv+53;
   callLab: cgv+54; exitCallLab: cgv+55;

   pendingLab: cgv+57; pendingMask: cgv+58;

   pendingLoads: cgv+59; pendingStores: cgv+60;

   R0Offset: cgv+61;

   multLab: cgv+63; quotLab: cgv+64;

   staticLabels: cgv+69; dataLabel: cgv+70;

   savedStates: cgv+71;
   argumentNumber: cgv+72;

   transferLabs: cgv+73;
   ocptrw: cgv+75; ocodebufw: cgv+76;

   exitLab: cgv+77; staticDataLab: cgv+78;
   usesFrame: cgv+79; containsCalls: cgv+80; localsSafe: cgv+81;

   localConstants: cgv+82; localConstP: cgv+83;
   localConstLab: cgv+84; localFaddr: cgv+85;
   freeDataBlocks: cgv+86;
   dedicatedRegisters: cgv+87;

   usesRL: cgv+89; RLLoadList: cgv+90;

   xrefsyms: cgv+98;
   loadRegFromFRegOK: cgv+99 }

GLOBAL {
// CGM
   ReadOp: cgm+1; ReadN: cgm+2; ReadGN: cgm+3; ReadL: cgm+4;
   PeekN: cgm+8;
   NextLabel: cgm+5;
   CGError: cgm+6;
   WriteBytes: cgm+9;
   ReadString: cgm+19 }

GLOBAL {
// CGA
   Scan: cga+0;
   IgnoreNames: cga+1; DiscardN: cga+2
   LabelInStatic: cga+3; OffsetOfStatic: cga+4;
   GenStore: cga+5;
   CGDebug: cga+6;
   XSymInStatic: cga+7 }

GLOBAL {
// CGB
   CGSwitch: cgb+0;
   CGEntry: cgb+1; CGSave: cgb+2; CGApply: cgb+3;
   CheckRLLoaded: cgb+4 }

GLOBAL {
// CGC
   CGStCar: cgc+0;
   CGStind: cgc+1; CGAssOp: cgc+2;
   CGRelop: cgc+3; CGLogop: cgc+4; CGShift: cgc+5;
   CGSlctSt: cgc+6; CGByteAp: cgc+7;
   Condition: cgc+8; ComplementCondition: cgc+9 }

GLOBAL {
// CGD
   InitialiseDisassembler: cgd+0;
   TerminateDisassembler: cgd+1;
   RotateRight: cgd+2
   PrintInstruction: cgd+3;
   StartComment: cgd+4 }

GLOBAL {
// CGE
   F1Inst: cge+0; F2Inst: cge+1; F4Inst: cge+2; F5Inst: cge+3;
   GenF1K: cge+4; GenRR: cge+5; GenF2: cge+6;
   SetRtoRplusK: cge+7; SetRtoRplusLplusK: cge+8; SetRtoK: cge+9;
   EightBitsOrFewer: cge+10;
   ShiftRegister: cge+11; ShiftRegisterDS: cge+12;
   MaskOutTagBits: cge+13;
   Jump: cge+14; CondJump: cge+15; F5InstL: cge+16;
   CheckDelayedJump: cge+17;
   GenF: cge+18; GenFDS: cge+19;
   InsertCount: cge+20;
   LogBase2: cge+21;
   CallSub: cge+22;
   GlobalConstant: cge+23;
   PackUp: cge+24;
   FlushPendingInsts: cge+25;
   TransferredLabel: cge+26;
   InitPendingInsts: cge+27;
   SetRToRPlusKM: cge+29; GenF2M: cge+30;
   CompareAgainstK: cge+31;
   F5InstX: cge+32;
   MultiplyInst: cge+33 }

GLOBAL {
// CGF
   PutWord: cgf+0; PutString: cgf+1;
   AddRef: cgf+2; SetLabel: cgf+3; ValueOfLabel: cgf+4;
   AddressInCode: cgf+5;
   CGString: cgf+6;
   InitDataLists: cgf+7;
   data: cgf+8;
   sdata: cgf+9; fdata: cgf+10;
   OutputSection: cgf+11;
   CGGlobal: cgf+12; CGEnd: cgf+13;
   LabelWithValue: cgf+14; FindLabelEntry: cgf+15;
   LabelFlagged: cgf+16; FlagLabel: cgf+17;
   GenData: cgf+18;
   GetDataBlock: cgf+19;
   AddRelocatedLoc: cgf+20;
   RealSetLabel: cgf+21;
   AddXSymbol: cgf+22; AddXRelocatedLoc: cgf+23;
   InternString: cgf+24;
   PrintSizes: cgf+25;
   RelocationForLoc: cgf+26; SymbolOfReloc: cgf+27 }

GLOBAL {
// CGG
   FreeReg: cgg+0; MovetoR: cgg+1; MoveToRSomeTime: cgg+2
   CompileDS: cgg+4
   TypeOfField: cgg+5;
   GenOpToStore: cgg+6;
   CGVecap: cgg+7; CGVecSt: cgg+8;
   LoadArg3ToSomeCR: cgg+9 }

GLOBAL {
// CGH
   DiscardRegs: cgh+0; DiscardReg: cgh+1;
   DiscardNonConstRegs: cgh+2; DiscardNonLocalRegs: cgh+3;
   LoadAddress: cgh+4; LoadCarAdd: cgh+5;
   MoveStoR: cgh+6; MoveRtoR: cgh+7; StoreR: cgh+8;
   DiscardAddress: cgh+9;
   LookFor: cgh+10;
   NotAddr: cgh+11; ShiftedUp: cgh+12; IsaCar: cgh+13;
   Lock: cgh+14; Unlock: cgh+15; Locked: cgh+16;
   MoveToAnyR: cgh+17; MoveToAnyRSomeTime: cgh+18;
   MoveToAnyCR: cgh+19; MoveToAnyCRSomeTime: cgh+20;
   Using: cgh+21;
   NextR: cgh+22;
   Lose: cgh+23; InitStack: cgh+24; Load: cgh+25;
   Stack: cgh+26; Store: cgh+27; StoreT: cgh+28;
   Class: cgh+29;
   IsConst: cgh+30;
   PrintRegList: cgh+31; PrintSimulatedStack: cgh+32;
   IsSimpleStoreLoc: cgh+33;
   IsInaRegister: cgh+34;
   SaveRegisterState: cgh+35; RestoreRegisterState: cgh+36;
   IntersectionOfRegisterStates: cgh+37;
   FindSavedState: cgh+38; SaveStateForLab: cgh+39;
   PrintRegisterState: cgh+40;
   IsInTheStack: cgh+41;
   ArgumentRegister: cgh+42
   MoveToAnyCRForStoreTo: cgh+43; MoveToAnyCRSomeTimeForStoreTo: cgh+44;
   AddRegInfo: cgh+45;
   LookForSloc: cgh+46;
   LookForRegContainingType: cgh+47;
   LocInRegister: cgh+48;
   TurnIndIntoSLoc: cgh+49;
   SwapSS: cgh+50;
   RemoveFalseIndirection: cgh+51;
   LoseR: cgh+52;
   SSEntry: cgh+53;
   InitialiseRegisterSlave: cgh+54;
   LookForFR: cgh+55;
   HasSlavedLoc: cgh+56 }

GLOBAL {
// CGI
   CGMult: cgi+0; CGDiv: cgi+1; CGRem: cgi+2;
   CGMinus: cgi+3; CGPlus: cgi+4;
   FindSourceAndDestinationRegisters: cgi+5 }

GLOBAL {
// CGJ
   LastInList: cgj+0; ReverseInPlace: cgj+1; Assoc: cgj+2
   PrintList: cgj+3; Nth: cgj+4;
   DeleteFromList: cgj+5; LengthOfList: cgj+6
   CopyOfList: cgj+7;

   AddToPendingStores: cgj+8; FlushPendingStores: cgj+9;
   FlushPendingStoresUpTo: cgj+10; FlushPendingUsesOfReg: cgj+11;
   DelRegFromPendingList: cgj+12; DelSlocFromPendingList: cgj+13;
   RegInPendingList: cgj+14; SlocInList: cgj+15;
   PrintPendingList: cgj+16;
   DelLocsAbove: cgj+17; DelLocsExcept: cgj+18;

   AddToPendingLoads: cgj+20;
   FlushPendingLoadsForReg:cgj+21; FlushPendingLoadsForSloc: cgj+22;
   FlushPendingLoads: cgj+23; FlushPendingLoadsUpTo: cgj+24;

   DedicateRegisterToLoc: cgj+25; RegisterDedicatedToLoc: cgj+26;
   LocHeldInRegister: cgj+27; ClearAssignedRegisters: cgj+28;

   FlushPendingLoadsExceptLocals: cgj+29;
   FlushPendingStoresExceptLocals: cgj+30;
   FlushPendingStoresExceptLocalsAndIregs: cgj+31;
   FlushPendingStoresForSloc: cgj+32

   DeleteList: cgj+33; InsertInListBefore: cgj+34;
   OffsetInList: cgj+35 }

GLOBAL {
// CGK
   CGFloat: cgk+0; CGFix: cgk+1;
   CGFop: cgk+2; CGFUnop: cgk+3; CGFCompare: cgk+4;
   MoveToAnyFR: cgk+5;
   GenCPDT: cgk+6;

   MoveFRtoR: cgk+7; StoreFR: cgk+8;
   PackFPNum: cgk+9;
   NextFR: cgk+10;
   MoveRtoFR: cgk+11 }
00000000  2f 2a 20 48 65 61 64 65  72 20 66 69 6c 65 20 66  |/* Header file f|
00000010  6f 72 20 42 43 50 4c 20  63 6f 64 65 2d 67 65 6e  |or BCPL code-gen|
00000020  65 72 61 74 6f 72 20 66  6f 72 20 41 52 4d 2e 0a  |erator for ARM..|
00000030  20 20 20 48 43 4d 09 20  30 37 20 46 65 62 20 38  |   HCM. 07 Feb 8|
00000040  36 20 31 32 3a 30 33 3a  32 39 0a 2a 2f 0a 0a 47  |6 12:03:29.*/..G|
00000050  45 54 20 22 4c 69 62 68  64 72 22 0a 0a 47 45 54  |ET "Libhdr"..GET|
00000060  20 22 62 2e 4f 70 73 22  0a 0a 4d 41 4e 49 46 45  | "b.Ops"..MANIFE|
00000070  53 54 20 7b 0a 20 20 20  56 65 72 73 69 6f 6e 4d  |ST {.   VersionM|
00000080  61 72 6b 09 09 3d 20 23  78 34 65 35 32 34 35 35  |ark..= #x4e52455|
00000090  36 3b 0a 0a 20 20 20 43  47 4d 61 6a 6f 72 56 65  |6;..   CGMajorVe|
000000a0  72 73 69 6f 6e 20 3d 20  32 3b 0a 20 20 20 43 47  |rsion = 2;.   CG|
000000b0  4d 69 6e 6f 72 56 65 72  73 69 6f 6e 20 3d 20 31  |MinorVersion = 1|
000000c0  38 20 7d 0a 0a 4d 41 4e  49 46 45 53 54 20 7b 0a  |8 }..MANIFEST {.|
000000d0  20 20 20 54 61 72 67 65  74 57 6f 72 64 53 69 7a  |   TargetWordSiz|
000000e0  65 20 3d 20 33 32 20 7d  0a 0a 4d 41 4e 49 46 45  |e = 32 }..MANIFE|
000000f0  53 54 20 7b 0a 20 20 20  2f 2f 20 46 6f 72 6d 61  |ST {.   // Forma|
00000100  74 20 31 20 6f 70 63 6f  64 65 73 0a 20 20 20 66  |t 1 opcodes.   f|
00000110  2e 61 64 64 20 3d 20 23  78 30 38 30 30 30 30 30  |.add = #x0800000|
00000120  3b 20 66 2e 73 75 62 20  3d 20 23 78 30 34 30 30  |; f.sub = #x0400|
00000130  30 30 30 3b 20 66 2e 72  73 62 20 3d 20 23 78 30  |000; f.rsb = #x0|
00000140  36 30 30 30 30 30 3b 0a  20 20 20 66 2e 61 64 63  |600000;.   f.adc|
00000150  20 3d 20 23 78 30 61 30  30 30 30 30 3b 20 66 2e  | = #x0a00000; f.|
00000160  73 62 63 20 3d 20 23 78  30 63 30 30 30 30 30 3b  |sbc = #x0c00000;|
00000170  20 66 2e 72 73 63 20 3d  20 23 78 30 65 30 30 30  | f.rsc = #x0e000|
00000180  30 30 3b 0a 20 20 20 66  2e 61 6e 64 20 3d 20 23  |00;.   f.and = #|
00000190  78 30 30 30 30 30 30 30  3b 20 66 2e 65 6f 72 20  |x0000000; f.eor |
000001a0  3d 20 23 78 30 32 30 30  30 30 30 3b 20 66 2e 6f  |= #x0200000; f.o|
000001b0  72 72 20 3d 20 23 78 31  38 30 30 30 30 30 3b 20  |rr = #x1800000; |
000001c0  66 2e 62 69 63 20 3d 20  23 78 31 63 30 30 30 30  |f.bic = #x1c0000|
000001d0  30 3b 0a 20 20 20 66 2e  63 6d 70 20 3d 20 23 78  |0;.   f.cmp = #x|
000001e0  31 34 30 30 30 30 30 3b  20 66 2e 63 6d 6e 20 3d  |1400000; f.cmn =|
000001f0  20 23 78 31 36 30 30 30  30 30 3b 20 66 2e 74 65  | #x1600000; f.te|
00000200  71 20 3d 20 23 78 31 32  30 30 30 30 30 3b 20 66  |q = #x1200000; f|
00000210  2e 74 73 74 20 3d 20 23  78 31 30 30 30 30 30 30  |.tst = #x1000000|
00000220  3b 0a 20 20 20 66 2e 73  75 62 73 3d 20 23 78 30  |;.   f.subs= #x0|
00000230  35 30 30 30 30 30 3b 0a  20 20 20 66 2e 63 6d 70  |500000;.   f.cmp|
00000240  73 3d 20 23 78 31 35 30  30 30 30 30 3b 20 66 2e  |s= #x1500000; f.|
00000250  63 6d 6e 73 3d 20 23 78  31 37 30 30 30 30 30 3b  |cmns= #x1700000;|
00000260  20 66 2e 74 65 71 73 3d  20 23 78 31 33 30 30 30  | f.teqs= #x13000|
00000270  30 30 3b 20 66 2e 74 73  74 73 3d 20 23 78 31 31  |00; f.tsts= #x11|
00000280  30 30 30 30 30 3b 0a 20  20 20 66 2e 6d 6f 76 20  |00000;.   f.mov |
00000290  3d 20 23 78 31 61 30 30  30 30 30 3b 20 66 2e 6d  |= #x1a00000; f.m|
000002a0  76 6e 20 3d 20 23 78 31  65 30 30 30 30 30 3b 0a  |vn = #x1e00000;.|
000002b0  20 20 20 66 2e 6d 6f 76  73 3d 20 23 78 31 62 30  |   f.movs= #x1b0|
000002c0  30 30 30 30 3b 0a 20 20  20 66 2e 63 6f 6e 64 3d  |0000;.   f.cond=|
000002d0  20 23 78 30 31 30 30 30  30 30 3b 0a 0a 20 20 20  | #x0100000;..   |
000002e0  2f 2f 20 46 6f 72 6d 61  74 20 32 0a 20 20 20 66  |// Format 2.   f|
000002f0  2e 6c 64 72 20 3d 20 23  78 30 34 31 30 30 30 30  |.ldr = #x0410000|
00000300  30 3b 20 66 2e 73 74 72  20 3d 20 23 78 30 34 30  |0; f.str = #x040|
00000310  30 30 30 30 30 3b 0a 20  20 20 66 2e 6c 64 72 62  |00000;.   f.ldrb|
00000320  3d 20 23 78 30 34 35 30  30 30 30 30 3b 20 66 2e  |= #x04500000; f.|
00000330  73 74 72 62 3d 20 23 78  30 34 34 30 30 30 30 30  |strb= #x04400000|
00000340  3b 0a 20 20 20 66 2e 6c  64 20 20 3d 20 23 78 30  |;.   f.ld  = #x0|
00000350  30 31 30 30 30 30 30 3b  20 66 2e 73 74 20 20 3d  |0100000; f.st  =|
00000360  20 23 78 30 30 30 30 30  30 30 30 3b 0a 0a 20 20  | #x00000000;..  |
00000370  20 2f 2f 20 46 6f 72 6d  61 74 20 34 0a 20 20 20  | // Format 4.   |
00000380  66 2e 6c 64 6d 20 3d 20  23 78 30 38 31 30 30 30  |f.ldm = #x081000|
00000390  30 30 3b 20 66 2e 73 74  6d 20 3d 20 23 78 30 38  |00; f.stm = #x08|
000003a0  30 30 30 30 30 30 3b 0a  20 20 20 66 2e 70 63 20  |000000;.   f.pc |
000003b0  20 3d 20 23 78 30 30 34  30 30 30 30 30 3b 0a 0a  | = #x00400000;..|
000003c0  20 20 20 2f 2f 20 54 68  65 20 66 6f 6c 6c 6f 77  |   // The follow|
000003d0  69 6e 67 20 61 72 65 20  76 61 6c 69 64 20 66 6f  |ing are valid fo|
000003e0  72 20 62 6f 74 68 20 66  6f 72 6d 61 74 20 33 20  |r both format 3 |
000003f0  61 6e 64 20 34 0a 20 20  20 66 2e 70 72 65 20 3d  |and 4.   f.pre =|
00000400  20 23 78 30 31 30 30 30  30 30 30 3b 20 66 2e 70  | #x01000000; f.p|
00000410  6f 73 74 20 3d 20 23 78  30 30 30 30 30 30 30 30  |ost = #x00000000|
00000420  3b 20 66 2e 77 62 20 20  20 3d 20 23 78 30 30 32  |; f.wb   = #x002|
00000430  30 30 30 30 30 3b 0a 20  20 20 66 2e 75 70 20 20  |00000;.   f.up  |
00000440  3d 20 23 78 30 30 38 30  30 30 30 30 3b 20 66 2e  |= #x00800000; f.|
00000450  64 6f 77 6e 20 3d 20 23  78 30 30 30 30 30 30 30  |down = #x0000000|
00000460  30 3b 0a 0a 20 20 20 66  2e 70 72 65 75 70 20 20  |0;..   f.preup  |
00000470  20 3d 20 66 2e 70 72 65  2b 66 2e 75 70 3b 20 20  | = f.pre+f.up;  |
00000480  66 2e 70 6f 73 74 75 70  20 20 20 3d 20 66 2e 70  |f.postup   = f.p|
00000490  6f 73 74 2b 66 2e 75 70  3b 0a 20 20 20 66 2e 70  |ost+f.up;.   f.p|
000004a0  72 65 64 6f 77 6e 20 3d  20 66 2e 70 72 65 2b 66  |redown = f.pre+f|
000004b0  2e 64 6f 77 6e 3b 20 66  2e 70 6f 73 74 64 6f 77  |.down; f.postdow|
000004c0  6e 20 3d 20 66 2e 70 6f  73 74 2b 66 2e 64 6f 77  |n = f.post+f.dow|
000004d0  6e 3b 0a 0a 20 20 20 2f  2f 20 61 6e 64 20 74 68  |n;..   // and th|
000004e0  69 73 20 69 73 20 76 61  6c 69 64 20 66 6f 72 20  |is is valid for |
000004f0  66 6f 72 6d 61 74 73 20  31 20 61 6e 64 20 32 0a  |formats 1 and 2.|
00000500  20 20 20 66 2e 61 64 64  72 69 73 72 20 3d 20 23  |   f.addrisr = #|
00000510  78 30 32 30 30 30 30 30  30 3b 20 66 2e 61 64 64  |x02000000; f.add|
00000520  72 69 73 6b 20 3d 20 23  78 30 30 30 30 30 30 30  |risk = #x0000000|
00000530  30 3b 0a 0a 20 20 20 2f  2f 20 46 6f 72 6d 61 74  |0;..   // Format|
00000540  20 35 0a 20 20 20 66 2e  62 09 20 3d 20 23 78 30  | 5.   f.b. = #x0|
00000550  61 30 30 30 30 30 30 3b  20 66 2e 62 6c 20 20 3d  |a000000; f.bl  =|
00000560  20 23 78 30 62 30 30 30  30 30 30 3b 0a 0a 20 20  | #x0b000000;..  |
00000570  20 2f 2f 20 66 6f 72 6d  61 74 20 34 20 72 65 67  | // format 4 reg|
00000580  69 73 74 65 72 20 63 6f  6d 62 69 6e 61 74 69 6f  |ister combinatio|
00000590  6e 73 0a 20 20 20 66 34  2e 70 62 6c 70 63 20 3d  |ns.   f4.pblpc =|
000005a0  20 23 78 39 35 30 30 3b  20 66 34 2e 70 62 6c 31  | #x9500; f4.pbl1|
000005b0  34 20 3d 20 23 78 35 35  30 30 3b 0a 20 20 20 66  |4 = #x5500;.   f|
000005c0  34 2e 70 6c 20 3d 20 23  78 31 34 30 30 3b 20 66  |4.pl = #x1400; f|
000005d0  34 2e 70 6c 31 34 20 3d  20 23 78 35 34 30 30 3b  |4.pl14 = #x5400;|
000005e0  0a 20 20 20 66 34 2e 70  6c 70 63 20 3d 20 23 78  |.   f4.plpc = #x|
000005f0  39 34 30 30 3b 0a 0a 20  20 20 66 2e 6d 75 6c 20  |9400;..   f.mul |
00000600  3d 20 23 78 30 30 30 30  30 30 30 3b 20 66 2e 6d  |= #x0000000; f.m|
00000610  6c 61 20 3d 20 23 78 30  32 30 30 30 30 30 3b 0a  |la = #x0200000;.|
00000620  0a 20 20 20 66 32 2e 6d  61 78 2e 6f 66 66 73 65  |.   f2.max.offse|
00000630  74 20 3d 20 23 78 66 66  66 20 7d 0a 0a 4d 41 4e  |t = #xfff }..MAN|
00000640  49 46 45 53 54 20 7b 0a  20 20 20 2f 2f 20 52 65  |IFEST {.   // Re|
00000650  67 69 73 74 65 72 20 76  61 6c 75 65 73 0a 20 20  |gister values.  |
00000660  20 72 2e 30 09 3d 20 30  3b 0a 20 20 20 72 2e 61  | r.0.= 0;.   r.a|
00000670  31 20 3d 20 31 3b 20 20  72 2e 61 32 20 3d 20 32  |1 = 1;  r.a2 = 2|
00000680  3b 20 20 72 2e 61 33 20  3d 20 33 3b 20 20 72 2e  |;  r.a3 = 3;  r.|
00000690  61 34 20 3d 20 34 3b 0a  20 20 20 72 2e 77 31 20  |a4 = 4;.   r.w1 |
000006a0  3d 20 35 3b 0a 20 20 20  72 2e 6e 69 6c 62 61 73  |= 5;.   r.nilbas|
000006b0  65 20 3d 20 36 3b 20 72  2e 67 62 20 3d 20 37 3b  |e = 6; r.gb = 7;|
000006c0  0a 20 20 20 72 2e 67 20  3d 20 39 3b 20 72 2e 70  |.   r.g = 9; r.p|
000006d0  20 3d 20 31 30 3b 20 72  2e 74 73 20 3d 20 31 31  | = 10; r.ts = 11|
000006e0  3b 0a 20 20 20 72 2e 6c  20 3d 20 31 32 3b 20 72  |;.   r.l = 12; r|
000006f0  2e 62 20 3d 20 38 3b 0a  20 20 20 72 2e 6e 69 6c  |.b = 8;.   r.nil|
00000700  20 3d 20 31 33 3b 0a 20  20 20 72 2e 31 34 20 3d  | = 13;.   r.14 =|
00000710  20 31 34 3b 0a 20 20 20  72 2e 70 63 20 3d 20 31  | 14;.   r.pc = 1|
00000720  35 20 7d 0a 0a 4d 41 4e  49 46 45 53 54 20 7b 0a  |5 }..MANIFEST {.|
00000730  20 20 20 2f 2f 20 63 6f  6e 64 69 74 69 6f 6e 20  |   // condition |
00000740  6d 61 73 6b 20 76 61 6c  75 65 73 0a 20 20 20 6d  |mask values.   m|
00000750  2e 65 71 20 20 20 20 20  3d 20 23 78 30 30 30 30  |.eq     = #x0000|
00000760  30 30 30 30 3b 20 6d 2e  6e 65 09 20 20 20 3d 20  |0000; m.ne.   = |
00000770  23 78 31 30 30 30 30 30  30 30 3b 0a 20 20 20 6d  |#x10000000;.   m|
00000780  2e 67 65 75 20 20 20 20  3d 20 23 78 32 30 30 30  |.geu    = #x2000|
00000790  30 30 30 30 3b 20 6d 2e  6c 74 75 20 20 20 20 3d  |0000; m.ltu    =|
000007a0  20 23 78 33 30 30 30 30  30 30 30 3b 0a 20 20 20  | #x30000000;.   |
000007b0  6d 2e 6d 69 20 20 20 20  20 3d 20 23 78 34 30 30  |m.mi     = #x400|
000007c0  30 30 30 30 30 3b 20 6d  2e 70 6c 09 20 20 20 3d  |00000; m.pl.   =|
000007d0  20 23 78 35 30 30 30 30  30 30 30 3b 0a 20 20 20  | #x50000000;.   |
000007e0  6d 2e 76 73 20 20 20 20  20 3d 20 23 78 36 30 30  |m.vs     = #x600|
000007f0  30 30 30 30 30 3b 20 6d  2e 76 63 09 20 20 20 3d  |00000; m.vc.   =|
00000800  20 23 78 37 30 30 30 30  30 30 30 3b 0a 20 20 20  | #x70000000;.   |
00000810  6d 2e 67 74 75 20 20 20  20 3d 20 23 78 38 30 30  |m.gtu    = #x800|
00000820  30 30 30 30 30 3b 20 6d  2e 6c 65 75 20 20 20 20  |00000; m.leu    |
00000830  3d 20 23 78 39 30 30 30  30 30 30 30 3b 0a 20 20  |= #x90000000;.  |
00000840  20 6d 2e 67 65 20 20 20  20 20 3d 20 23 78 61 30  | m.ge     = #xa0|
00000850  30 30 30 30 30 30 3b 20  6d 2e 6c 74 09 20 20 20  |000000; m.lt.   |
00000860  3d 20 23 78 62 30 30 30  30 30 30 30 3b 0a 20 20  |= #xb0000000;.  |
00000870  20 6d 2e 67 74 20 20 20  20 20 3d 20 23 78 63 30  | m.gt     = #xc0|
00000880  30 30 30 30 30 30 3b 20  6d 2e 6c 65 09 20 20 20  |000000; m.le.   |
00000890  3d 20 23 78 64 30 30 30  30 30 30 30 3b 0a 20 20  |= #xd0000000;.  |
000008a0  20 6d 2e 61 6c 77 61 79  73 20 3d 20 23 78 65 30  | m.always = #xe0|
000008b0  30 30 30 30 30 30 3b 20  6d 2e 6e 65 76 65 72 20  |000000; m.never |
000008c0  20 3d 20 23 78 66 30 30  30 30 30 30 30 20 7d 0a  | = #xf0000000 }.|
000008d0  0a 4d 41 4e 49 46 45 53  54 20 7b 0a 20 20 20 2f  |.MANIFEST {.   /|
000008e0  2f 20 73 68 69 66 74 20  74 79 70 65 73 0a 20 20  |/ shift types.  |
000008f0  20 73 68 2e 61 73 6c 20  3d 20 23 78 30 30 3b 20  | sh.asl = #x00; |
00000900  73 68 2e 6c 73 72 20 3d  20 23 78 32 30 3b 20 73  |sh.lsr = #x20; s|
00000910  68 2e 61 73 72 20 3d 20  23 78 34 30 3b 20 73 68  |h.asr = #x40; sh|
00000920  2e 72 6f 72 20 3d 20 23  78 36 30 3b 0a 20 20 20  |.ror = #x60;.   |
00000930  73 68 2e 6c 73 6c 20 3d  20 23 78 30 30 20 7d 0a  |sh.lsl = #x00 }.|
00000940  0a 4d 41 4e 49 46 45 53  54 20 7b 0a 20 20 20 2f  |.MANIFEST {.   /|
00000950  2f 20 6c 69 62 72 61 72  79 20 65 6e 74 72 79 20  |/ library entry |
00000960  70 6f 69 6e 74 73 20 28  72 65 6c 61 74 69 76 65  |points (relative|
00000970  20 74 6f 20 72 2e 67 62  29 0a 20 20 20 73 72 2e  | to r.gb).   sr.|
00000980  6d 75 6c 74 69 70 6c 79  09 20 3d 20 23 78 30 34  |multiply. = #x04|
00000990  3b 0a 20 20 20 73 72 2e  71 75 6f 74 72 65 6d 09  |;.   sr.quotrem.|
000009a0  20 3d 20 23 78 33 34 3b  0a 20 20 20 73 72 2e 65  | = #x34;.   sr.e|
000009b0  6e 74 72 79 63 6f 75 6e  74 20 3d 20 23 78 61 30  |ntrycount = #xa0|
000009c0  3b 0a 20 20 20 73 72 2e  63 6f 75 6e 74 09 20 3d  |;.   sr.count. =|
000009d0  20 23 78 62 63 3b 0a 20  20 20 73 72 2e 65 78 69  | #xbc;.   sr.exi|
000009e0  74 09 20 3d 20 23 78 63  63 3b 0a 20 20 20 73 72  |t. = #xcc;.   sr|
000009f0  2e 66 69 6e 09 20 3d 20  23 78 30 30 20 7d 0a 0a  |.fin. = #x00 }..|
00000a00  4d 41 4e 49 46 45 53 54  20 7b 0a 20 20 20 6b 34  |MANIFEST {.   k4|
00000a10  20 3d 20 34 30 39 36 3b  0a 0a 20 20 20 52 65 67  | = 4096;..   Reg|
00000a20  53 69 7a 65 20 3d 20 36  3b 0a 0a 20 20 20 53 53  |Size = 6;..   SS|
00000a30  53 69 7a 65 20 3d 20 35  3b 20 54 65 6d 70 53 69  |Size = 5; TempSi|
00000a40  7a 65 20 3d 20 34 30 2a  53 53 53 69 7a 65 3b 0a  |ze = 40*SSSize;.|
00000a50  0a 20 20 20 4e 75 6c 6c  20 3d 20 2d 31 3b 0a 0a  |.   Null = -1;..|
00000a60  20 20 20 6b 2e 6e 75 6d  62 65 72 20 3d 20 31 3b  |   k.number = 1;|
00000a70  0a 20 20 20 6b 2e 6c 6f  63 20 3d 20 32 3b 20 6b  |.   k.loc = 2; k|
00000a80  2e 67 6c 6f 62 20 3d 20  33 3b 20 6b 2e 73 74 61  |.glob = 3; k.sta|
00000a90  74 69 63 20 3d 20 34 3b  20 6b 2e 6c 61 62 20 3d  |tic = 4; k.lab =|
00000aa0  20 35 3b 0a 20 20 20 6b  2e 6c 76 6c 6f 63 20 3d  | 5;.   k.lvloc =|
00000ab0  20 36 3b 20 6b 2e 6c 76  67 6c 6f 62 20 3d 20 37  | 6; k.lvglob = 7|
00000ac0  3b 20 6b 2e 6c 76 73 74  61 74 69 63 20 3d 20 38  |; k.lvstatic = 8|
00000ad0  3b 20 6b 2e 6c 76 6c 61  62 20 3d 20 39 3b 0a 20  |; k.lvlab = 9;. |
00000ae0  20 20 6b 2e 72 65 67 20  3d 20 31 30 3b 20 6b 2e  |  k.reg = 10; k.|
00000af0  66 72 65 67 20 3d 20 31  31 3b 0a 20 20 20 6b 2e  |freg = 11;.   k.|
00000b00  6c 76 73 6c 6f 63 20 3d  20 31 32 3b 20 6b 2e 6c  |lvsloc = 12; k.l|
00000b10  76 73 67 6c 6f 62 20 3d  20 31 33 3b 20 6b 2e 6c  |vsglob = 13; k.l|
00000b20  76 73 73 74 61 74 69 63  20 3d 20 31 34 3b 20 6b  |vsstatic = 14; k|
00000b30  2e 6c 76 73 6c 61 62 20  3d 20 31 35 3b 0a 20 20  |.lvslab = 15;.  |
00000b40  20 6b 2e 6c 76 73 20 3d  20 36 3b 0a 20 20 20 6b  | k.lvs = 6;.   k|
00000b50  2e 69 72 65 67 20 3d 20  31 36 3b 20 20 20 2f 2f  |.ireg = 16;   //|
00000b60  20 75 73 65 64 20 6f 6e  6c 79 20 69 6e 20 70 65  | used only in pe|
00000b70  6e 64 69 6e 67 20 6c 6f  61 64 73 2f 20 73 74 6f  |nding loads/ sto|
00000b80  72 65 73 0a 20 20 20 6b  2e 73 68 72 65 67 20 3d  |res.   k.shreg =|
00000b90  20 31 37 3b 20 20 2f 2f  20 72 65 70 72 65 73 65  | 17;  // represe|
00000ba0  6e 74 61 74 69 6f 6e 20  6f 66 20 70 65 6e 64 69  |ntation of pendi|
00000bb0  6e 67 20 73 68 69 66 74  0a 0a 20 20 20 72 74 79  |ng shift..   rty|
00000bc0  70 65 20 3d 20 31 3b 20  6c 6f 63 6b 65 64 72 74  |pe = 1; lockedrt|
00000bd0  79 70 65 20 3d 20 32 3b  0a 20 20 20 61 74 79 70  |ype = 2;.   atyp|
00000be0  65 20 3d 20 33 3b 0a 20  20 20 73 68 69 66 74 65  |e = 3;.   shifte|
00000bf0  64 72 74 79 70 65 20 3d  20 34 3b 0a 20 20 20 6b  |drtype = 4;.   k|
00000c00  74 79 70 65 20 3d 20 35  3b 0a 20 20 20 6c 76 73  |type = 5;.   lvs|
00000c10  74 79 70 65 20 3d 20 36  3b 0a 0a 20 20 20 2f 2f  |type = 6;..   //|
00000c20  20 73 65 6c 65 63 74 6f  72 20 63 6c 61 73 73 69  | selector classi|
00000c30  66 69 63 61 74 69 6f 6e  0a 20 20 20 42 79 74 65  |fication.   Byte|
00000c40  46 69 65 6c 64 20 3d 20  30 3b 20 4c 42 79 74 65  |Field = 0; LByte|
00000c50  46 69 65 6c 64 20 3d 20  31 3b 20 47 65 6e 46 69  |Field = 1; GenFi|
00000c60  65 6c 64 20 3d 20 32 3b  0a 0a 20 20 20 2f 2f 20  |eld = 2;..   // |
00000c70  75 73 65 64 20 69 6e 20  6d 61 72 6b 69 6e 67 20  |used in marking |
00000c80  64 65 66 65 72 72 65 64  20 43 41 52 2f 43 44 52  |deferred CAR/CDR|
00000c90  73 0a 20 20 20 43 61 72  4d 61 72 6b 20 3d 20 23  |s.   CarMark = #|
00000ca0  78 34 30 30 30 3b 20 56  41 43 61 72 4d 61 72 6b  |x4000; VACarMark|
00000cb0  20 3d 20 23 78 34 30 30  31 3b 0a 0a 20 20 20 2f  | = #x4001;..   /|
00000cc0  2f 20 4c 61 62 65 6c 20  76 65 63 74 6f 72 20 76  |/ Label vector v|
00000cd0  65 63 74 6f 72 20 64 61  74 61 0a 20 20 20 4c 61  |ector data.   La|
00000ce0  62 65 6c 42 6c 6f 63 6b  53 69 7a 65 20 3d 20 31  |belBlockSize = 1|
00000cf0  32 38 0a 20 20 20 4c 61  62 65 6c 42 6c 6f 63 6b  |28.   LabelBlock|
00000d00  53 68 69 66 74 20 3d 20  37 0a 20 20 20 4c 61 62  |Shift = 7.   Lab|
00000d10  65 6c 42 6c 6f 63 6b 4d  61 73 6b 20 3d 20 31 32  |elBlockMask = 12|
00000d20  37 0a 0a 20 20 20 4c 61  62 65 6c 42 6c 6f 63 6b  |7..   LabelBlock|
00000d30  56 53 69 7a 65 20 3d 20  31 32 38 0a 0a 20 20 20  |VSize = 128..   |
00000d40  6c 61 73 74 2e 6c 61 62  65 6c 2e 6e 75 6d 62 65  |last.label.numbe|
00000d50  72 20 3d 09 28 4c 61 62  65 6c 42 6c 6f 63 6b 56  |r =.(LabelBlockV|
00000d60  53 69 7a 65 20 2a 20 4c  61 62 65 6c 42 6c 6f 63  |Size * LabelBloc|
00000d70  6b 53 69 7a 65 29 20 2f  20 32 0a 0a 20 20 20 2f  |kSize) / 2..   /|
00000d80  2f 20 52 65 6c 6f 63 61  74 61 62 6c 65 20 62 69  |/ Relocatable bi|
00000d90  6e 61 72 79 20 74 79 70  65 73 0a 0a 20 20 20 74  |nary types..   t|
00000da0  2e 68 75 6e 6b 20 3d 20  31 30 30 30 3b 20 74 2e  |.hunk = 1000; t.|
00000db0  65 6e 64 20 3d 20 31 30  30 32 0a 0a 20 20 20 44  |end = 1002..   D|
00000dc0  61 74 61 42 6c 6f 63 6b  53 69 7a 65 20 3d 20 31  |ataBlockSize = 1|
00000dd0  36 3b 0a 20 20 20 4e 65  78 74 42 6c 6f 63 6b 20  |6;.   NextBlock |
00000de0  3d 20 30 3b 20 45 6e 64  4f 66 44 61 74 61 49 6e  |= 0; EndOfDataIn|
00000df0  42 6c 6f 63 6b 20 3d 20  31 3b 20 44 61 74 61 42  |Block = 1; DataB|
00000e00  6c 6f 63 6b 49 74 65 6d  73 20 3d 20 32 3b 0a 0a  |lockItems = 2;..|
00000e10  20 20 20 2f 2f 20 73 74  72 75 63 74 75 72 65 20  |   // structure |
00000e20  6f 66 20 6c 61 62 65 6c  20 72 65 66 65 72 65 6e  |of label referen|
00000e30  63 65 73 0a 20 20 20 4e  65 78 74 52 65 66 20 3d  |ces.   NextRef =|
00000e40  20 30 3b 20 52 65 66 54  79 70 65 20 3d 20 31 3b  | 0; RefType = 1;|
00000e50  20 52 65 66 4c 6f 63 20  3d 20 32 3b 0a 20 20 20  | RefLoc = 2;.   |
00000e60  52 65 66 53 69 7a 65 20  3d 20 33 3b 0a 0a 20 20  |RefSize = 3;..  |
00000e70  20 73 6c 2e 74 79 70 65  20 3d 20 31 3b 20 73 6c  | sl.type = 1; sl|
00000e80  2e 6c 6f 63 20 3d 20 32  3b 0a 20 20 20 73 6c 2e  |.loc = 2;.   sl.|
00000e90  73 69 7a 65 20 3d 20 33  3b 0a 0a 20 20 20 2f 2f  |size = 3;..   //|
00000ea0  20 53 74 72 75 63 74 75  72 65 20 6f 66 20 70 65  | Structure of pe|
00000eb0  6e 64 69 6e 67 20 73 74  6f 72 65 20 69 74 65 6d  |nding store item|
00000ec0  0a 20 20 20 70 73 2e 72  65 67 20 3d 20 33 3b 20  |.   ps.reg = 3; |
00000ed0  70 73 2e 69 73 74 6f 73  20 3d 20 35 3b 0a 20 20  |ps.istos = 5;.  |
00000ee0  20 70 6c 2e 6f 66 66 73  65 74 20 3d 20 34 3b 0a  | pl.offset = 4;.|
00000ef0  20 20 20 70 73 2e 73 69  7a 65 20 3d 20 36 3b 0a  |   ps.size = 6;.|
00000f00  0a 20 20 20 2f 2f 20 66  6c 61 67 20 62 69 74 73  |.   // flag bits|
00000f10  20 69 6e 20 6c 61 62 65  6c 20 65 6e 74 72 69 65  | in label entrie|
00000f20  73 0a 20 20 20 6c 61 62  2e 73 65 74 09 20 20 20  |s.   lab.set.   |
00000f30  3d 20 23 78 38 30 30 30  30 30 30 30 3b 0a 0a 20  |= #x80000000;.. |
00000f40  20 20 6c 61 62 2e 64 65  66 69 6e 65 64 09 20 20  |  lab.defined.  |
00000f50  20 3d 20 23 78 34 30 30  30 30 30 30 30 3b 20 20  | = #x40000000;  |
00000f60  20 20 20 20 2f 2f 20 74  68 65 73 65 20 62 69 74  |    // these bit|
00000f70  73 20 66 6f 72 20 63 6f  64 65 20 6c 61 62 65 6c  |s for code label|
00000f80  73 0a 20 20 20 6c 61 62  2e 66 6f 72 77 61 72 64  |s.   lab.forward|
00000f90  6a 75 6d 70 20 3d 20 23  78 32 30 30 30 30 30 30  |jump = #x2000000|
00000fa0  30 3b 0a 20 20 20 6c 61  62 2e 6f 6e 6c 79 6f 6e  |0;.   lab.onlyon|
00000fb0  65 6a 75 6d 70 20 3d 20  23 78 31 30 30 30 30 30  |ejump = #x100000|
00000fc0  30 30 3b 0a 20 20 20 6c  61 62 2e 66 72 61 6d 65  |00;.   lab.frame|
00000fd0  6e 65 65 64 65 64 20 3d  20 23 78 30 38 30 30 30  |needed = #x08000|
00000fe0  30 30 30 3b 20 20 20 20  20 20 2f 2f 20 6d 61 72  |000;      // mar|
00000ff0  6b 73 20 70 72 6f 63 65  64 75 72 65 73 20 77 68  |ks procedures wh|
00001000  69 63 68 20 6e 65 65 64  20 61 0a 09 09 09 09 20  |ich need a..... |
00001010  20 20 20 20 20 2f 2f 20  73 74 61 63 6b 20 66 72  |     // stack fr|
00001020  61 6d 65 20 28 63 6f 6e  74 61 69 6e 20 63 61 6c  |ame (contain cal|
00001030  6c 73 20 6f 72 0a 09 09  09 09 20 20 20 20 20 20  |ls or.....      |
00001040  2f 2f 20 72 65 66 65 72  65 6e 63 65 20 73 74 61  |// reference sta|
00001050  74 69 63 73 29 2e 0a 20  20 20 6c 61 62 2e 70 72  |tics)..   lab.pr|
00001060  6f 63 68 61 73 63 61 6c  6c 73 3d 20 23 78 30 34  |ochascalls= #x04|
00001070  30 30 30 30 30 30 3b 0a  20 20 20 6c 61 62 2e 6a  |000000;.   lab.j|
00001080  75 6d 70 65 64 74 6f 20  20 20 20 3d 20 23 78 30  |umpedto    = #x0|
00001090  32 30 30 30 30 30 30 3b  0a 20 20 20 6c 61 62 2e  |2000000;.   lab.|
000010a0  63 61 6c 6c 65 64 09 20  20 20 3d 20 23 78 30 31  |called.   = #x01|
000010b0  30 30 30 30 30 30 3b 0a  20 20 20 6c 61 62 2e 65  |000000;.   lab.e|
000010c0  6e 64 70 72 6f 63 6c 61  62 20 20 3d 20 23 78 30  |ndproclab  = #x0|
000010d0  30 38 30 30 30 30 30 3b  0a 20 20 20 6c 61 62 2e  |0800000;.   lab.|
000010e0  70 72 6f 63 73 74 61 74  69 63 73 20 3d 20 23 78  |procstatics = #x|
000010f0  30 30 34 30 30 30 30 30  3b 0a 20 20 20 6c 61 62  |00400000;.   lab|
00001100  2e 70 72 6f 63 6f 72 6c  61 62 65 6c 20 3d 20 23  |.procorlabel = #|
00001110  78 30 30 32 30 30 30 30  30 3b 0a 0a 20 20 20 6c  |x00200000;..   l|
00001120  61 62 2e 6c 76 74 61 6b  65 6e 09 20 20 20 3d 20  |ab.lvtaken.   = |
00001130  23 78 30 30 31 30 30 30  30 30 3b 20 20 20 20 20  |#x00100000;     |
00001140  20 2f 2f 20 61 6e 64 20  74 68 65 73 65 20 66 6f  | // and these fo|
00001150  72 20 64 61 74 61 20 6c  61 62 65 6c 73 0a 20 20  |r data labels.  |
00001160  20 6c 61 62 2e 73 74 6f  72 65 64 09 20 20 20 3d  | lab.stored.   =|
00001170  20 23 78 30 30 30 38 30  30 30 30 3b 0a 20 20 20  | #x00080000;.   |
00001180  6c 61 62 2e 6c 76 70 74  61 6b 65 6e 20 20 20 20  |lab.lvptaken    |
00001190  3d 20 23 78 30 30 30 34  30 30 30 30 3b 20 20 20  |= #x00040000;   |
000011a0  20 20 20 2f 2f 20 6d 61  72 6b 73 20 70 72 6f 63  |   // marks proc|
000011b0  65 64 75 72 65 73 20 77  68 6f 73 65 20 6c 6f 63  |edures whose loc|
000011c0  61 6c 0a 09 09 09 09 20  20 20 20 20 20 2f 2f 20  |al.....      // |
000011d0  76 61 72 69 61 62 6c 65  73 20 6d 61 79 20 62 65  |variables may be|
000011e0  20 64 65 73 74 72 6f 79  65 64 20 62 79 0a 09 09  | destroyed by...|
000011f0  09 09 20 20 20 20 20 20  2f 2f 20 69 6e 64 69 72  |..      // indir|
00001200  65 63 74 20 61 73 73 69  67 6e 6d 65 6e 74 2e 0a  |ect assignment..|
00001210  0a 20 20 20 6c 61 62 2e  76 61 6c 75 65 09 20 20  |.   lab.value.  |
00001220  20 3d 20 23 78 30 30 30  33 66 66 66 66 3b 0a 20  | = #x0003ffff;. |
00001230  20 20 6c 61 62 2e 61 72  65 61 09 20 20 20 3d 20  |  lab.area.   = |
00001240  23 78 30 30 30 30 30 30  30 33 3b 0a 0a 20 20 20  |#x00000003;..   |
00001250  2f 2f 20 76 61 6c 75 65  73 20 66 6f 72 20 64 65  |// values for de|
00001260  61 64 43 6f 64 65 0a 20  20 20 41 6c 69 76 65 20  |adCode.   Alive |
00001270  3d 20 30 3b 0a 20 20 20  44 65 61 64 20 3d 20 31  |= 0;.   Dead = 1|
00001280  3b 0a 0a 20 20 20 2f 2f  20 45 72 72 6f 72 20 61  |;..   // Error a|
00001290  63 74 69 6f 6e 20 76 61  6c 75 65 73 0a 20 20 20  |ction values.   |
000012a0  48 61 72 64 45 72 72 6f  72 20 3d 20 46 41 4c 53  |HardError = FALS|
000012b0  45 3b 0a 20 20 20 46 61  74 61 6c 45 72 72 6f 72  |E;.   FatalError|
000012c0  20 3d 20 54 52 55 45 3b  0a 20 20 20 4f 6e 6c 79  | = TRUE;.   Only|
000012d0  57 61 72 6e 69 6e 67 20  3d 20 31 3b 0a 0a 20 20  |Warning = 1;..  |
000012e0  20 2f 2f 20 62 69 74 73  20 69 6e 20 43 47 44 65  | // bits in CGDe|
000012f0  62 75 67 4d 6f 64 65 0a  20 20 20 64 62 2e 74 72  |bugMode.   db.tr|
00001300  61 63 65 70 73 20 3d 20  31 3b 20 64 62 2e 74 72  |aceps = 1; db.tr|
00001310  61 63 65 73 63 61 6e 20  3d 20 32 3b 20 64 62 2e  |acescan = 2; db.|
00001320  74 72 61 63 65 70 77 20  3d 20 34 3b 20 64 62 2e  |tracepw = 4; db.|
00001330  73 72 73 20 3d 20 38 3b  0a 20 20 20 64 62 2e 74  |srs = 8;.   db.t|
00001340  6c 61 62 73 20 3d 20 23  78 31 30 3b 20 64 62 2e  |labs = #x10; db.|
00001350  73 68 75 66 66 6c 65 20  3d 20 23 78 32 30 3b 0a  |shuffle = #x20;.|
00001360  20 20 20 64 62 2e 63 73  20 3d 20 23 78 34 30 3b  |   db.cs = #x40;|
00001370  0a 20 20 20 64 62 2e 70  6f 63 20 3d 20 23 78 38  |.   db.poc = #x8|
00001380  30 3b 0a 20 20 20 64 62  2e 72 65 67 73 20 3d 23  |0;.   db.regs =#|
00001390  78 31 30 30 3b 0a 20 20  20 64 62 2e 6d 75 6c 74  |x100;.   db.mult|
000013a0  20 3d 20 23 78 32 30 30  3b 0a 20 20 20 64 62 2e  | = #x200;.   db.|
000013b0  6d 61 70 73 74 6f 72 65  20 3d 20 23 78 38 30 30  |mapstore = #x800|
000013c0  30 3b 0a 0a 20 20 20 2f  2f 20 62 69 74 73 20 69  |0;..   // bits i|
000013d0  6e 20 43 47 4f 70 74 4d  6f 64 65 0a 20 20 20 6f  |n CGOptMode.   o|
000013e0  70 2e 73 68 75 66 66 6c  65 20 3d 20 31 3b 0a 20  |p.shuffle = 1;. |
000013f0  20 20 6f 70 2e 73 74 72  69 6e 67 73 20 3d 20 32  |  op.strings = 2|
00001400  3b 0a 0a 20 20 20 73 2e  69 74 65 6d 78 20 3d 20  |;..   s.itemx = |
00001410  32 35 35 20 7d 0a 0a 4d  41 4e 49 46 45 53 54 20  |255 }..MANIFEST |
00001420  7b 20 20 2f 2f 20 73 74  75 66 66 20 74 6f 20 64  |{  // stuff to d|
00001430  6f 20 77 69 74 68 20 41  4f 46 0a 20 20 20 53 41  |o with AOF.   SA|
00001440  44 65 66 69 6e 65 64 20  3d 20 23 78 30 31 3b 0a  |Defined = #x01;.|
00001450  20 20 20 53 41 47 6c 6f  62 61 6c 20 3d 20 23 78  |   SAGlobal = #x|
00001460  30 32 3b 0a 20 20 20 53  41 41 62 73 20 3d 20 23  |02;.   SAAbs = #|
00001470  78 30 34 3b 0a 20 20 20  53 41 43 61 73 65 49 6e  |x04;.   SACaseIn|
00001480  73 65 6e 73 69 74 69 76  65 20 3d 20 23 78 30 38  |sensitive = #x08|
00001490  3b 0a 0a 20 20 20 52 65  6c 42 79 74 65 20 3d 20  |;..   RelByte = |
000014a0  23 78 30 30 30 30 30 3b  0a 20 20 20 52 65 6c 48  |#x00000;.   RelH|
000014b0  61 6c 66 20 3d 20 23 78  31 30 30 30 30 3b 0a 20  |alf = #x10000;. |
000014c0  20 20 52 65 6c 57 6f 72  64 20 3d 20 23 78 32 30  |  RelWord = #x20|
000014d0  30 30 30 3b 0a 20 20 20  52 65 6c 50 43 52 65 6c  |000;.   RelPCRel|
000014e0  20 3d 20 23 78 34 30 30  30 30 3b 0a 20 20 20 52  | = #x40000;.   R|
000014f0  65 6c 53 79 6d 62 6f 6c  20 3d 20 23 78 38 30 30  |elSymbol = #x800|
00001500  30 30 20 7d 3b 0a 0a 4d  41 4e 49 46 45 53 54 20  |00 };..MANIFEST |
00001510  7b 0a 20 20 20 2f 2f 20  43 6f 6e 73 74 61 6e 74  |{.   // Constant|
00001520  73 20 66 6f 72 20 63 6f  6d 70 69 6c 65 64 20 63  |s for compiled c|
00001530  6f 64 65 20 6f 72 67 61  6e 69 73 61 74 69 6f 6e  |ode organisation|
00001540  0a 20 20 20 4d 61 78 53  74 61 74 69 63 46 72 61  |.   MaxStaticFra|
00001550  6d 65 20 3d 20 31 30 09  20 20 2f 2f 20 65 78 63  |me = 10.  // exc|
00001560  6c 75 64 69 6e 67 20 6f  76 65 72 68 65 61 64 0a  |luding overhead.|
00001570  7d 0a 0a 4d 41 4e 49 46  45 53 54 20 7b 0a 09 09  |}..MANIFEST {...|
00001580  09 2f 2f 20 63 67 76 20  33 37 30 0a 20 20 20 63  |.// cgv 370.   c|
00001590  67 6d 20 3d 20 63 67 76  2b 31 30 30 3b 09 2f 2f  |gm = cgv+100;.//|
000015a0  20 34 37 30 0a 20 20 20  63 67 61 20 3d 20 63 67  | 470.   cga = cg|
000015b0  6d 2b 32 30 3b 09 2f 2f  20 34 39 30 0a 20 20 20  |m+20;.// 490.   |
000015c0  63 67 62 20 3d 20 63 67  61 2b 31 35 3b 09 2f 2f  |cgb = cga+15;.//|
000015d0  20 35 30 35 0a 20 20 20  63 67 63 20 3d 20 63 67  | 505.   cgc = cg|
000015e0  62 2b 31 35 3b 09 2f 2f  20 35 32 30 0a 20 20 20  |b+15;.// 520.   |
000015f0  63 67 64 20 3d 20 63 67  63 2b 32 35 3b 09 2f 2f  |cgd = cgc+25;.//|
00001600  20 35 36 35 0a 20 20 20  63 67 65 20 3d 20 63 67  | 565.   cge = cg|
00001610  64 2b 32 35 3b 09 2f 2f  20 35 37 30 0a 20 20 20  |d+25;.// 570.   |
00001620  63 67 66 20 3d 20 63 67  65 2b 34 30 3b 09 2f 2f  |cgf = cge+40;.//|
00001630  20 36 31 30 0a 20 20 20  63 67 67 20 3d 20 63 67  | 610.   cgg = cg|
00001640  66 2b 33 30 3b 09 2f 2f  20 36 34 30 0a 20 20 20  |f+30;.// 640.   |
00001650  63 67 68 20 3d 20 63 67  67 2b 32 30 3b 09 2f 2f  |cgh = cgg+20;.//|
00001660  20 36 36 30 0a 20 20 20  63 67 69 20 3d 20 63 67  | 660.   cgi = cg|
00001670  68 2b 36 35 3b 09 2f 2f  20 37 32 35 0a 20 20 20  |h+65;.// 725.   |
00001680  63 67 6a 20 3d 20 63 67  69 2b 32 30 3b 09 2f 2f  |cgj = cgi+20;.//|
00001690  20 37 34 35 0a 20 20 20  63 67 6b 20 3d 20 63 67  | 745.   cgk = cg|
000016a0  6a 2b 34 30 20 09 2f 2f  20 37 38 35 0a 7d 0a 0a  |j+40 .// 785.}..|
000016b0  47 4c 4f 42 41 4c 20 7b  0a 20 20 20 48 6f 73 74  |GLOBAL {.   Host|
000016c0  50 72 6f 63 65 73 73 6f  72 3a 20 32 20 7d 0a 0a  |Processor: 2 }..|
000016d0  47 4c 4f 42 41 4c 20 7b  0a 20 20 20 2f 2f 20 76  |GLOBAL {.   // v|
000016e0  61 72 69 61 62 6c 65 73  0a 20 20 20 6c 69 6e 65  |ariables.   line|
000016f0  43 6f 75 6e 74 73 3a 20  63 67 76 2b 30 3b 0a 0a  |Counts: cgv+0;..|
00001700  20 20 20 72 65 76 65 72  73 65 64 53 74 61 63 6b  |   reversedStack|
00001710  3a 20 63 67 76 2b 36 3b  0a 20 20 20 75 70 53 74  |: cgv+6;.   upSt|
00001720  61 63 6b 3a 20 63 67 76  2b 37 3b 20 20 2f 2f 20  |ack: cgv+7;  // |
00001730  4c 44 4d 2f 53 54 4d 20  61 72 67 75 6d 65 6e 74  |LDM/STM argument|
00001740  0a 20 20 20 6e 65 78 74  53 74 61 63 6b 57 6f 72  |.   nextStackWor|
00001750  64 3a 20 63 67 76 2b 38  20 20 2f 2f 20 34 20 6f  |d: cgv+8  // 4 o|
00001760  72 20 2d 34 2c 20 64 65  70 65 6e 64 69 6e 67 20  |r -4, depending |
00001770  6f 6e 20 73 74 61 63 6b  20 64 69 72 65 63 74 69  |on stack directi|
00001780  6f 6e 0a 0a 20 20 20 74  65 6d 70 76 3a 20 63 67  |on..   tempv: cg|
00001790  76 2b 31 30 3b 20 74 65  6d 70 74 3a 20 63 67 76  |v+10; tempt: cgv|
000017a0  2b 31 31 3b 0a 20 20 20  61 72 67 31 3a 20 63 67  |+11;.   arg1: cg|
000017b0  76 2b 31 32 3b 20 61 72  67 32 3a 20 63 67 76 2b  |v+12; arg2: cgv+|
000017c0  31 33 3b 0a 20 20 20 73  73 70 3a 20 63 67 76 2b  |13;.   ssp: cgv+|
000017d0  31 34 3b 20 54 4f 53 6f  66 66 73 65 74 3a 20 63  |14; TOSoffset: c|
000017e0  67 76 2b 31 35 3b 0a 0a  20 20 20 70 73 2e 74 72  |gv+15;..   ps.tr|
000017f0  61 63 65 64 65 70 74 68  3a 20 63 67 76 2b 31 36  |acedepth: cgv+16|
00001800  3b 0a 0a 20 20 20 73 74  61 74 69 63 4f 66 66 73  |;..   staticOffs|
00001810  65 74 3a 20 63 67 76 2b  31 39 3b 0a 20 20 20 6c  |et: cgv+19;.   l|
00001820  69 6e 6b 61 67 65 4e 6f  74 53 74 6f 72 65 64 3a  |inkageNotStored:|
00001830  20 63 67 76 2b 32 30 3b  0a 20 20 20 73 74 61 74  | cgv+20;.   stat|
00001840  69 63 44 61 74 61 53 69  7a 65 3a 20 63 67 76 2b  |icDataSize: cgv+|
00001850  32 31 3b 0a 0a 20 20 20  64 65 61 64 43 6f 64 65  |21;..   deadCode|
00001860  3a 20 63 67 76 2b 32 32  3b 20 6c 6f 63 43 74 72  |: cgv+22; locCtr|
00001870  3a 20 63 67 76 2b 32 33  3b 0a 20 20 20 73 74 6f  |: cgv+23;.   sto|
00001880  72 65 42 6c 6f 63 6b 56  3a 20 63 67 76 2b 32 34  |reBlockV: cgv+24|
00001890  3b 0a 20 20 20 6c 61 62  65 6c 62 6c 6f 63 6b 56  |;.   labelblockV|
000018a0  3a 20 63 67 76 2b 32 35  3b 0a 20 20 20 6d 61 78  |: cgv+25;.   max|
000018b0  47 4e 3a 20 63 67 76 2b  32 36 3b 0a 0a 20 20 20  |GN: cgv+26;..   |
000018c0  70 72 6f 63 4c 61 62 65  6c 3a 20 63 67 76 2b 32  |procLabel: cgv+2|
000018d0  37 3b 20 62 6c 6f 63 6b  4c 61 62 65 6c 3a 20 63  |7; blockLabel: c|
000018e0  67 76 2b 32 38 3b 0a 20  20 20 70 65 6e 64 69 6e  |gv+28;.   pendin|
000018f0  67 4a 75 6d 70 3a 20 63  67 76 2b 33 30 3b 0a 20  |gJump: cgv+30;. |
00001900  20 20 73 65 63 74 69 6f  6e 4e 61 6d 65 3a 20 63  |  sectionName: c|
00001910  67 76 2b 33 31 3b 0a 20  20 20 6f 70 3a 20 63 67  |gv+31;.   op: cg|
00001920  76 2b 33 32 3b 0a 20 20  20 63 6f 75 6e 74 46 6c  |v+32;.   countFl|
00001930  61 67 3a 20 63 67 76 2b  33 34 3b 20 63 6f 75 6e  |ag: cgv+34; coun|
00001940  74 4c 61 62 65 6c 3a 20  63 67 76 2b 33 35 3b 0a  |tLabel: cgv+35;.|
00001950  0a 20 20 20 6c 69 6e 65  43 6f 75 6e 74 3a 20 63  |.   lineCount: c|
00001960  67 76 2b 33 37 3b 0a 20  20 20 62 61 73 65 3a 20  |gv+37;.   base: |
00001970  63 67 76 2b 33 38 3b 20  62 61 73 65 6c 61 62 3a  |cgv+38; baselab:|
00001980  20 63 67 76 2b 33 39 3b  20 62 61 73 65 61 64 64  | cgv+39; baseadd|
00001990  72 3a 20 63 67 76 2b 34  30 3b 0a 20 20 20 6e 61  |r: cgv+40;.   na|
000019a0  6d 65 6c 3a 20 63 67 76  2b 34 31 3b 20 6e 61 6d  |mel: cgv+41; nam|
000019b0  65 74 3a 20 63 67 76 2b  34 32 3b 0a 0a 20 20 20  |et: cgv+42;..   |
000019c0  53 64 61 74 61 4c 69 73  74 3a 20 63 67 76 2b 34  |SdataList: cgv+4|
000019d0  33 3b 20 53 64 61 74 61  50 3a 20 63 67 76 2b 34  |3; SdataP: cgv+4|
000019e0  34 3b 20 53 4c 61 62 3a  20 63 67 76 2b 34 35 3b  |4; SLab: cgv+45;|
000019f0  20 53 41 64 64 72 3a 20  63 67 76 2b 34 36 3b 0a  | SAddr: cgv+46;.|
00001a00  20 20 20 46 64 61 74 61  4c 69 73 74 3a 20 63 67  |   FdataList: cg|
00001a10  76 2b 34 37 3b 20 46 64  61 74 61 50 3a 20 63 67  |v+47; FdataP: cg|
00001a20  76 2b 34 38 3b 20 46 6c  61 62 3a 20 63 67 76 2b  |v+48; Flab: cgv+|
00001a30  34 39 3b 20 46 61 64 64  72 3a 20 63 67 76 2b 35  |49; Faddr: cgv+5|
00001a40  30 3b 0a 20 20 20 44 61  74 61 4c 69 73 74 3a 20  |0;.   DataList: |
00001a50  63 67 76 2b 35 31 3b 20  44 61 74 61 50 3a 20 63  |cgv+51; DataP: c|
00001a60  67 76 2b 35 32 3b 0a 0a  20 20 20 65 6e 64 53 65  |gv+52;..   endSe|
00001a70  63 74 4c 61 62 65 6c 3a  20 63 67 76 2b 35 33 3b  |ctLabel: cgv+53;|
00001a80  0a 20 20 20 63 61 6c 6c  4c 61 62 3a 20 63 67 76  |.   callLab: cgv|
00001a90  2b 35 34 3b 20 65 78 69  74 43 61 6c 6c 4c 61 62  |+54; exitCallLab|
00001aa0  3a 20 63 67 76 2b 35 35  3b 0a 0a 20 20 20 70 65  |: cgv+55;..   pe|
00001ab0  6e 64 69 6e 67 4c 61 62  3a 20 63 67 76 2b 35 37  |ndingLab: cgv+57|
00001ac0  3b 20 70 65 6e 64 69 6e  67 4d 61 73 6b 3a 20 63  |; pendingMask: c|
00001ad0  67 76 2b 35 38 3b 0a 0a  20 20 20 70 65 6e 64 69  |gv+58;..   pendi|
00001ae0  6e 67 4c 6f 61 64 73 3a  20 63 67 76 2b 35 39 3b  |ngLoads: cgv+59;|
00001af0  20 70 65 6e 64 69 6e 67  53 74 6f 72 65 73 3a 20  | pendingStores: |
00001b00  63 67 76 2b 36 30 3b 0a  0a 20 20 20 52 30 4f 66  |cgv+60;..   R0Of|
00001b10  66 73 65 74 3a 20 63 67  76 2b 36 31 3b 0a 0a 20  |fset: cgv+61;.. |
00001b20  20 20 6d 75 6c 74 4c 61  62 3a 20 63 67 76 2b 36  |  multLab: cgv+6|
00001b30  33 3b 20 71 75 6f 74 4c  61 62 3a 20 63 67 76 2b  |3; quotLab: cgv+|
00001b40  36 34 3b 0a 0a 20 20 20  73 74 61 74 69 63 4c 61  |64;..   staticLa|
00001b50  62 65 6c 73 3a 20 63 67  76 2b 36 39 3b 20 64 61  |bels: cgv+69; da|
00001b60  74 61 4c 61 62 65 6c 3a  20 63 67 76 2b 37 30 3b  |taLabel: cgv+70;|
00001b70  0a 0a 20 20 20 73 61 76  65 64 53 74 61 74 65 73  |..   savedStates|
00001b80  3a 20 63 67 76 2b 37 31  3b 0a 20 20 20 61 72 67  |: cgv+71;.   arg|
00001b90  75 6d 65 6e 74 4e 75 6d  62 65 72 3a 20 63 67 76  |umentNumber: cgv|
00001ba0  2b 37 32 3b 0a 0a 20 20  20 74 72 61 6e 73 66 65  |+72;..   transfe|
00001bb0  72 4c 61 62 73 3a 20 63  67 76 2b 37 33 3b 0a 20  |rLabs: cgv+73;. |
00001bc0  20 20 6f 63 70 74 72 77  3a 20 63 67 76 2b 37 35  |  ocptrw: cgv+75|
00001bd0  3b 20 6f 63 6f 64 65 62  75 66 77 3a 20 63 67 76  |; ocodebufw: cgv|
00001be0  2b 37 36 3b 0a 0a 20 20  20 65 78 69 74 4c 61 62  |+76;..   exitLab|
00001bf0  3a 20 63 67 76 2b 37 37  3b 20 73 74 61 74 69 63  |: cgv+77; static|
00001c00  44 61 74 61 4c 61 62 3a  20 63 67 76 2b 37 38 3b  |DataLab: cgv+78;|
00001c10  0a 20 20 20 75 73 65 73  46 72 61 6d 65 3a 20 63  |.   usesFrame: c|
00001c20  67 76 2b 37 39 3b 20 63  6f 6e 74 61 69 6e 73 43  |gv+79; containsC|
00001c30  61 6c 6c 73 3a 20 63 67  76 2b 38 30 3b 20 6c 6f  |alls: cgv+80; lo|
00001c40  63 61 6c 73 53 61 66 65  3a 20 63 67 76 2b 38 31  |calsSafe: cgv+81|
00001c50  3b 0a 0a 20 20 20 6c 6f  63 61 6c 43 6f 6e 73 74  |;..   localConst|
00001c60  61 6e 74 73 3a 20 63 67  76 2b 38 32 3b 20 6c 6f  |ants: cgv+82; lo|
00001c70  63 61 6c 43 6f 6e 73 74  50 3a 20 63 67 76 2b 38  |calConstP: cgv+8|
00001c80  33 3b 0a 20 20 20 6c 6f  63 61 6c 43 6f 6e 73 74  |3;.   localConst|
00001c90  4c 61 62 3a 20 63 67 76  2b 38 34 3b 20 6c 6f 63  |Lab: cgv+84; loc|
00001ca0  61 6c 46 61 64 64 72 3a  20 63 67 76 2b 38 35 3b  |alFaddr: cgv+85;|
00001cb0  0a 20 20 20 66 72 65 65  44 61 74 61 42 6c 6f 63  |.   freeDataBloc|
00001cc0  6b 73 3a 20 63 67 76 2b  38 36 3b 0a 20 20 20 64  |ks: cgv+86;.   d|
00001cd0  65 64 69 63 61 74 65 64  52 65 67 69 73 74 65 72  |edicatedRegister|
00001ce0  73 3a 20 63 67 76 2b 38  37 3b 0a 0a 20 20 20 75  |s: cgv+87;..   u|
00001cf0  73 65 73 52 4c 3a 20 63  67 76 2b 38 39 3b 20 52  |sesRL: cgv+89; R|
00001d00  4c 4c 6f 61 64 4c 69 73  74 3a 20 63 67 76 2b 39  |LLoadList: cgv+9|
00001d10  30 3b 0a 0a 20 20 20 78  72 65 66 73 79 6d 73 3a  |0;..   xrefsyms:|
00001d20  20 63 67 76 2b 39 38 3b  0a 20 20 20 6c 6f 61 64  | cgv+98;.   load|
00001d30  52 65 67 46 72 6f 6d 46  52 65 67 4f 4b 3a 20 63  |RegFromFRegOK: c|
00001d40  67 76 2b 39 39 20 7d 0a  0a 47 4c 4f 42 41 4c 20  |gv+99 }..GLOBAL |
00001d50  7b 0a 2f 2f 20 43 47 4d  0a 20 20 20 52 65 61 64  |{.// CGM.   Read|
00001d60  4f 70 3a 20 63 67 6d 2b  31 3b 20 52 65 61 64 4e  |Op: cgm+1; ReadN|
00001d70  3a 20 63 67 6d 2b 32 3b  20 52 65 61 64 47 4e 3a  |: cgm+2; ReadGN:|
00001d80  20 63 67 6d 2b 33 3b 20  52 65 61 64 4c 3a 20 63  | cgm+3; ReadL: c|
00001d90  67 6d 2b 34 3b 0a 20 20  20 50 65 65 6b 4e 3a 20  |gm+4;.   PeekN: |
00001da0  63 67 6d 2b 38 3b 0a 20  20 20 4e 65 78 74 4c 61  |cgm+8;.   NextLa|
00001db0  62 65 6c 3a 20 63 67 6d  2b 35 3b 0a 20 20 20 43  |bel: cgm+5;.   C|
00001dc0  47 45 72 72 6f 72 3a 20  63 67 6d 2b 36 3b 0a 20  |GError: cgm+6;. |
00001dd0  20 20 57 72 69 74 65 42  79 74 65 73 3a 20 63 67  |  WriteBytes: cg|
00001de0  6d 2b 39 3b 0a 20 20 20  52 65 61 64 53 74 72 69  |m+9;.   ReadStri|
00001df0  6e 67 3a 20 63 67 6d 2b  31 39 20 7d 0a 0a 47 4c  |ng: cgm+19 }..GL|
00001e00  4f 42 41 4c 20 7b 0a 2f  2f 20 43 47 41 0a 20 20  |OBAL {.// CGA.  |
00001e10  20 53 63 61 6e 3a 20 63  67 61 2b 30 3b 0a 20 20  | Scan: cga+0;.  |
00001e20  20 49 67 6e 6f 72 65 4e  61 6d 65 73 3a 20 63 67  | IgnoreNames: cg|
00001e30  61 2b 31 3b 20 44 69 73  63 61 72 64 4e 3a 20 63  |a+1; DiscardN: c|
00001e40  67 61 2b 32 0a 20 20 20  4c 61 62 65 6c 49 6e 53  |ga+2.   LabelInS|
00001e50  74 61 74 69 63 3a 20 63  67 61 2b 33 3b 20 4f 66  |tatic: cga+3; Of|
00001e60  66 73 65 74 4f 66 53 74  61 74 69 63 3a 20 63 67  |fsetOfStatic: cg|
00001e70  61 2b 34 3b 0a 20 20 20  47 65 6e 53 74 6f 72 65  |a+4;.   GenStore|
00001e80  3a 20 63 67 61 2b 35 3b  0a 20 20 20 43 47 44 65  |: cga+5;.   CGDe|
00001e90  62 75 67 3a 20 63 67 61  2b 36 3b 0a 20 20 20 58  |bug: cga+6;.   X|
00001ea0  53 79 6d 49 6e 53 74 61  74 69 63 3a 20 63 67 61  |SymInStatic: cga|
00001eb0  2b 37 20 7d 0a 0a 47 4c  4f 42 41 4c 20 7b 0a 2f  |+7 }..GLOBAL {./|
00001ec0  2f 20 43 47 42 0a 20 20  20 43 47 53 77 69 74 63  |/ CGB.   CGSwitc|
00001ed0  68 3a 20 63 67 62 2b 30  3b 0a 20 20 20 43 47 45  |h: cgb+0;.   CGE|
00001ee0  6e 74 72 79 3a 20 63 67  62 2b 31 3b 20 43 47 53  |ntry: cgb+1; CGS|
00001ef0  61 76 65 3a 20 63 67 62  2b 32 3b 20 43 47 41 70  |ave: cgb+2; CGAp|
00001f00  70 6c 79 3a 20 63 67 62  2b 33 3b 0a 20 20 20 43  |ply: cgb+3;.   C|
00001f10  68 65 63 6b 52 4c 4c 6f  61 64 65 64 3a 20 63 67  |heckRLLoaded: cg|
00001f20  62 2b 34 20 7d 0a 0a 47  4c 4f 42 41 4c 20 7b 0a  |b+4 }..GLOBAL {.|
00001f30  2f 2f 20 43 47 43 0a 20  20 20 43 47 53 74 43 61  |// CGC.   CGStCa|
00001f40  72 3a 20 63 67 63 2b 30  3b 0a 20 20 20 43 47 53  |r: cgc+0;.   CGS|
00001f50  74 69 6e 64 3a 20 63 67  63 2b 31 3b 20 43 47 41  |tind: cgc+1; CGA|
00001f60  73 73 4f 70 3a 20 63 67  63 2b 32 3b 0a 20 20 20  |ssOp: cgc+2;.   |
00001f70  43 47 52 65 6c 6f 70 3a  20 63 67 63 2b 33 3b 20  |CGRelop: cgc+3; |
00001f80  43 47 4c 6f 67 6f 70 3a  20 63 67 63 2b 34 3b 20  |CGLogop: cgc+4; |
00001f90  43 47 53 68 69 66 74 3a  20 63 67 63 2b 35 3b 0a  |CGShift: cgc+5;.|
00001fa0  20 20 20 43 47 53 6c 63  74 53 74 3a 20 63 67 63  |   CGSlctSt: cgc|
00001fb0  2b 36 3b 20 43 47 42 79  74 65 41 70 3a 20 63 67  |+6; CGByteAp: cg|
00001fc0  63 2b 37 3b 0a 20 20 20  43 6f 6e 64 69 74 69 6f  |c+7;.   Conditio|
00001fd0  6e 3a 20 63 67 63 2b 38  3b 20 43 6f 6d 70 6c 65  |n: cgc+8; Comple|
00001fe0  6d 65 6e 74 43 6f 6e 64  69 74 69 6f 6e 3a 20 63  |mentCondition: c|
00001ff0  67 63 2b 39 20 7d 0a 0a  47 4c 4f 42 41 4c 20 7b  |gc+9 }..GLOBAL {|
00002000  0a 2f 2f 20 43 47 44 0a  20 20 20 49 6e 69 74 69  |.// CGD.   Initi|
00002010  61 6c 69 73 65 44 69 73  61 73 73 65 6d 62 6c 65  |aliseDisassemble|
00002020  72 3a 20 63 67 64 2b 30  3b 0a 20 20 20 54 65 72  |r: cgd+0;.   Ter|
00002030  6d 69 6e 61 74 65 44 69  73 61 73 73 65 6d 62 6c  |minateDisassembl|
00002040  65 72 3a 20 63 67 64 2b  31 3b 0a 20 20 20 52 6f  |er: cgd+1;.   Ro|
00002050  74 61 74 65 52 69 67 68  74 3a 20 63 67 64 2b 32  |tateRight: cgd+2|
00002060  0a 20 20 20 50 72 69 6e  74 49 6e 73 74 72 75 63  |.   PrintInstruc|
00002070  74 69 6f 6e 3a 20 63 67  64 2b 33 3b 0a 20 20 20  |tion: cgd+3;.   |
00002080  53 74 61 72 74 43 6f 6d  6d 65 6e 74 3a 20 63 67  |StartComment: cg|
00002090  64 2b 34 20 7d 0a 0a 47  4c 4f 42 41 4c 20 7b 0a  |d+4 }..GLOBAL {.|
000020a0  2f 2f 20 43 47 45 0a 20  20 20 46 31 49 6e 73 74  |// CGE.   F1Inst|
000020b0  3a 20 63 67 65 2b 30 3b  20 46 32 49 6e 73 74 3a  |: cge+0; F2Inst:|
000020c0  20 63 67 65 2b 31 3b 20  46 34 49 6e 73 74 3a 20  | cge+1; F4Inst: |
000020d0  63 67 65 2b 32 3b 20 46  35 49 6e 73 74 3a 20 63  |cge+2; F5Inst: c|
000020e0  67 65 2b 33 3b 0a 20 20  20 47 65 6e 46 31 4b 3a  |ge+3;.   GenF1K:|
000020f0  20 63 67 65 2b 34 3b 20  47 65 6e 52 52 3a 20 63  | cge+4; GenRR: c|
00002100  67 65 2b 35 3b 20 47 65  6e 46 32 3a 20 63 67 65  |ge+5; GenF2: cge|
00002110  2b 36 3b 0a 20 20 20 53  65 74 52 74 6f 52 70 6c  |+6;.   SetRtoRpl|
00002120  75 73 4b 3a 20 63 67 65  2b 37 3b 20 53 65 74 52  |usK: cge+7; SetR|
00002130  74 6f 52 70 6c 75 73 4c  70 6c 75 73 4b 3a 20 63  |toRplusLplusK: c|
00002140  67 65 2b 38 3b 20 53 65  74 52 74 6f 4b 3a 20 63  |ge+8; SetRtoK: c|
00002150  67 65 2b 39 3b 0a 20 20  20 45 69 67 68 74 42 69  |ge+9;.   EightBi|
00002160  74 73 4f 72 46 65 77 65  72 3a 20 63 67 65 2b 31  |tsOrFewer: cge+1|
00002170  30 3b 0a 20 20 20 53 68  69 66 74 52 65 67 69 73  |0;.   ShiftRegis|
00002180  74 65 72 3a 20 63 67 65  2b 31 31 3b 20 53 68 69  |ter: cge+11; Shi|
00002190  66 74 52 65 67 69 73 74  65 72 44 53 3a 20 63 67  |ftRegisterDS: cg|
000021a0  65 2b 31 32 3b 0a 20 20  20 4d 61 73 6b 4f 75 74  |e+12;.   MaskOut|
000021b0  54 61 67 42 69 74 73 3a  20 63 67 65 2b 31 33 3b  |TagBits: cge+13;|
000021c0  0a 20 20 20 4a 75 6d 70  3a 20 63 67 65 2b 31 34  |.   Jump: cge+14|
000021d0  3b 20 43 6f 6e 64 4a 75  6d 70 3a 20 63 67 65 2b  |; CondJump: cge+|
000021e0  31 35 3b 20 46 35 49 6e  73 74 4c 3a 20 63 67 65  |15; F5InstL: cge|
000021f0  2b 31 36 3b 0a 20 20 20  43 68 65 63 6b 44 65 6c  |+16;.   CheckDel|
00002200  61 79 65 64 4a 75 6d 70  3a 20 63 67 65 2b 31 37  |ayedJump: cge+17|
00002210  3b 0a 20 20 20 47 65 6e  46 3a 20 63 67 65 2b 31  |;.   GenF: cge+1|
00002220  38 3b 20 47 65 6e 46 44  53 3a 20 63 67 65 2b 31  |8; GenFDS: cge+1|
00002230  39 3b 0a 20 20 20 49 6e  73 65 72 74 43 6f 75 6e  |9;.   InsertCoun|
00002240  74 3a 20 63 67 65 2b 32  30 3b 0a 20 20 20 4c 6f  |t: cge+20;.   Lo|
00002250  67 42 61 73 65 32 3a 20  63 67 65 2b 32 31 3b 0a  |gBase2: cge+21;.|
00002260  20 20 20 43 61 6c 6c 53  75 62 3a 20 63 67 65 2b  |   CallSub: cge+|
00002270  32 32 3b 0a 20 20 20 47  6c 6f 62 61 6c 43 6f 6e  |22;.   GlobalCon|
00002280  73 74 61 6e 74 3a 20 63  67 65 2b 32 33 3b 0a 20  |stant: cge+23;. |
00002290  20 20 50 61 63 6b 55 70  3a 20 63 67 65 2b 32 34  |  PackUp: cge+24|
000022a0  3b 0a 20 20 20 46 6c 75  73 68 50 65 6e 64 69 6e  |;.   FlushPendin|
000022b0  67 49 6e 73 74 73 3a 20  63 67 65 2b 32 35 3b 0a  |gInsts: cge+25;.|
000022c0  20 20 20 54 72 61 6e 73  66 65 72 72 65 64 4c 61  |   TransferredLa|
000022d0  62 65 6c 3a 20 63 67 65  2b 32 36 3b 0a 20 20 20  |bel: cge+26;.   |
000022e0  49 6e 69 74 50 65 6e 64  69 6e 67 49 6e 73 74 73  |InitPendingInsts|
000022f0  3a 20 63 67 65 2b 32 37  3b 0a 20 20 20 53 65 74  |: cge+27;.   Set|
00002300  52 54 6f 52 50 6c 75 73  4b 4d 3a 20 63 67 65 2b  |RToRPlusKM: cge+|
00002310  32 39 3b 20 47 65 6e 46  32 4d 3a 20 63 67 65 2b  |29; GenF2M: cge+|
00002320  33 30 3b 0a 20 20 20 43  6f 6d 70 61 72 65 41 67  |30;.   CompareAg|
00002330  61 69 6e 73 74 4b 3a 20  63 67 65 2b 33 31 3b 0a  |ainstK: cge+31;.|
00002340  20 20 20 46 35 49 6e 73  74 58 3a 20 63 67 65 2b  |   F5InstX: cge+|
00002350  33 32 3b 0a 20 20 20 4d  75 6c 74 69 70 6c 79 49  |32;.   MultiplyI|
00002360  6e 73 74 3a 20 63 67 65  2b 33 33 20 7d 0a 0a 47  |nst: cge+33 }..G|
00002370  4c 4f 42 41 4c 20 7b 0a  2f 2f 20 43 47 46 0a 20  |LOBAL {.// CGF. |
00002380  20 20 50 75 74 57 6f 72  64 3a 20 63 67 66 2b 30  |  PutWord: cgf+0|
00002390  3b 20 50 75 74 53 74 72  69 6e 67 3a 20 63 67 66  |; PutString: cgf|
000023a0  2b 31 3b 0a 20 20 20 41  64 64 52 65 66 3a 20 63  |+1;.   AddRef: c|
000023b0  67 66 2b 32 3b 20 53 65  74 4c 61 62 65 6c 3a 20  |gf+2; SetLabel: |
000023c0  63 67 66 2b 33 3b 20 56  61 6c 75 65 4f 66 4c 61  |cgf+3; ValueOfLa|
000023d0  62 65 6c 3a 20 63 67 66  2b 34 3b 0a 20 20 20 41  |bel: cgf+4;.   A|
000023e0  64 64 72 65 73 73 49 6e  43 6f 64 65 3a 20 63 67  |ddressInCode: cg|
000023f0  66 2b 35 3b 0a 20 20 20  43 47 53 74 72 69 6e 67  |f+5;.   CGString|
00002400  3a 20 63 67 66 2b 36 3b  0a 20 20 20 49 6e 69 74  |: cgf+6;.   Init|
00002410  44 61 74 61 4c 69 73 74  73 3a 20 63 67 66 2b 37  |DataLists: cgf+7|
00002420  3b 0a 20 20 20 64 61 74  61 3a 20 63 67 66 2b 38  |;.   data: cgf+8|
00002430  3b 0a 20 20 20 73 64 61  74 61 3a 20 63 67 66 2b  |;.   sdata: cgf+|
00002440  39 3b 20 66 64 61 74 61  3a 20 63 67 66 2b 31 30  |9; fdata: cgf+10|
00002450  3b 0a 20 20 20 4f 75 74  70 75 74 53 65 63 74 69  |;.   OutputSecti|
00002460  6f 6e 3a 20 63 67 66 2b  31 31 3b 0a 20 20 20 43  |on: cgf+11;.   C|
00002470  47 47 6c 6f 62 61 6c 3a  20 63 67 66 2b 31 32 3b  |GGlobal: cgf+12;|
00002480  20 43 47 45 6e 64 3a 20  63 67 66 2b 31 33 3b 0a  | CGEnd: cgf+13;.|
00002490  20 20 20 4c 61 62 65 6c  57 69 74 68 56 61 6c 75  |   LabelWithValu|
000024a0  65 3a 20 63 67 66 2b 31  34 3b 20 46 69 6e 64 4c  |e: cgf+14; FindL|
000024b0  61 62 65 6c 45 6e 74 72  79 3a 20 63 67 66 2b 31  |abelEntry: cgf+1|
000024c0  35 3b 0a 20 20 20 4c 61  62 65 6c 46 6c 61 67 67  |5;.   LabelFlagg|
000024d0  65 64 3a 20 63 67 66 2b  31 36 3b 20 46 6c 61 67  |ed: cgf+16; Flag|
000024e0  4c 61 62 65 6c 3a 20 63  67 66 2b 31 37 3b 0a 20  |Label: cgf+17;. |
000024f0  20 20 47 65 6e 44 61 74  61 3a 20 63 67 66 2b 31  |  GenData: cgf+1|
00002500  38 3b 0a 20 20 20 47 65  74 44 61 74 61 42 6c 6f  |8;.   GetDataBlo|
00002510  63 6b 3a 20 63 67 66 2b  31 39 3b 0a 20 20 20 41  |ck: cgf+19;.   A|
00002520  64 64 52 65 6c 6f 63 61  74 65 64 4c 6f 63 3a 20  |ddRelocatedLoc: |
00002530  63 67 66 2b 32 30 3b 0a  20 20 20 52 65 61 6c 53  |cgf+20;.   RealS|
00002540  65 74 4c 61 62 65 6c 3a  20 63 67 66 2b 32 31 3b  |etLabel: cgf+21;|
00002550  0a 20 20 20 41 64 64 58  53 79 6d 62 6f 6c 3a 20  |.   AddXSymbol: |
00002560  63 67 66 2b 32 32 3b 20  41 64 64 58 52 65 6c 6f  |cgf+22; AddXRelo|
00002570  63 61 74 65 64 4c 6f 63  3a 20 63 67 66 2b 32 33  |catedLoc: cgf+23|
00002580  3b 0a 20 20 20 49 6e 74  65 72 6e 53 74 72 69 6e  |;.   InternStrin|
00002590  67 3a 20 63 67 66 2b 32  34 3b 0a 20 20 20 50 72  |g: cgf+24;.   Pr|
000025a0  69 6e 74 53 69 7a 65 73  3a 20 63 67 66 2b 32 35  |intSizes: cgf+25|
000025b0  3b 0a 20 20 20 52 65 6c  6f 63 61 74 69 6f 6e 46  |;.   RelocationF|
000025c0  6f 72 4c 6f 63 3a 20 63  67 66 2b 32 36 3b 20 53  |orLoc: cgf+26; S|
000025d0  79 6d 62 6f 6c 4f 66 52  65 6c 6f 63 3a 20 63 67  |ymbolOfReloc: cg|
000025e0  66 2b 32 37 20 7d 0a 0a  47 4c 4f 42 41 4c 20 7b  |f+27 }..GLOBAL {|
000025f0  0a 2f 2f 20 43 47 47 0a  20 20 20 46 72 65 65 52  |.// CGG.   FreeR|
00002600  65 67 3a 20 63 67 67 2b  30 3b 20 4d 6f 76 65 74  |eg: cgg+0; Movet|
00002610  6f 52 3a 20 63 67 67 2b  31 3b 20 4d 6f 76 65 54  |oR: cgg+1; MoveT|
00002620  6f 52 53 6f 6d 65 54 69  6d 65 3a 20 63 67 67 2b  |oRSomeTime: cgg+|
00002630  32 0a 20 20 20 43 6f 6d  70 69 6c 65 44 53 3a 20  |2.   CompileDS: |
00002640  63 67 67 2b 34 0a 20 20  20 54 79 70 65 4f 66 46  |cgg+4.   TypeOfF|
00002650  69 65 6c 64 3a 20 63 67  67 2b 35 3b 0a 20 20 20  |ield: cgg+5;.   |
00002660  47 65 6e 4f 70 54 6f 53  74 6f 72 65 3a 20 63 67  |GenOpToStore: cg|
00002670  67 2b 36 3b 0a 20 20 20  43 47 56 65 63 61 70 3a  |g+6;.   CGVecap:|
00002680  20 63 67 67 2b 37 3b 20  43 47 56 65 63 53 74 3a  | cgg+7; CGVecSt:|
00002690  20 63 67 67 2b 38 3b 0a  20 20 20 4c 6f 61 64 41  | cgg+8;.   LoadA|
000026a0  72 67 33 54 6f 53 6f 6d  65 43 52 3a 20 63 67 67  |rg3ToSomeCR: cgg|
000026b0  2b 39 20 7d 0a 0a 47 4c  4f 42 41 4c 20 7b 0a 2f  |+9 }..GLOBAL {./|
000026c0  2f 20 43 47 48 0a 20 20  20 44 69 73 63 61 72 64  |/ CGH.   Discard|
000026d0  52 65 67 73 3a 20 63 67  68 2b 30 3b 20 44 69 73  |Regs: cgh+0; Dis|
000026e0  63 61 72 64 52 65 67 3a  20 63 67 68 2b 31 3b 0a  |cardReg: cgh+1;.|
000026f0  20 20 20 44 69 73 63 61  72 64 4e 6f 6e 43 6f 6e  |   DiscardNonCon|
00002700  73 74 52 65 67 73 3a 20  63 67 68 2b 32 3b 20 44  |stRegs: cgh+2; D|
00002710  69 73 63 61 72 64 4e 6f  6e 4c 6f 63 61 6c 52 65  |iscardNonLocalRe|
00002720  67 73 3a 20 63 67 68 2b  33 3b 0a 20 20 20 4c 6f  |gs: cgh+3;.   Lo|
00002730  61 64 41 64 64 72 65 73  73 3a 20 63 67 68 2b 34  |adAddress: cgh+4|
00002740  3b 20 4c 6f 61 64 43 61  72 41 64 64 3a 20 63 67  |; LoadCarAdd: cg|
00002750  68 2b 35 3b 0a 20 20 20  4d 6f 76 65 53 74 6f 52  |h+5;.   MoveStoR|
00002760  3a 20 63 67 68 2b 36 3b  20 4d 6f 76 65 52 74 6f  |: cgh+6; MoveRto|
00002770  52 3a 20 63 67 68 2b 37  3b 20 53 74 6f 72 65 52  |R: cgh+7; StoreR|
00002780  3a 20 63 67 68 2b 38 3b  0a 20 20 20 44 69 73 63  |: cgh+8;.   Disc|
00002790  61 72 64 41 64 64 72 65  73 73 3a 20 63 67 68 2b  |ardAddress: cgh+|
000027a0  39 3b 0a 20 20 20 4c 6f  6f 6b 46 6f 72 3a 20 63  |9;.   LookFor: c|
000027b0  67 68 2b 31 30 3b 0a 20  20 20 4e 6f 74 41 64 64  |gh+10;.   NotAdd|
000027c0  72 3a 20 63 67 68 2b 31  31 3b 20 53 68 69 66 74  |r: cgh+11; Shift|
000027d0  65 64 55 70 3a 20 63 67  68 2b 31 32 3b 20 49 73  |edUp: cgh+12; Is|
000027e0  61 43 61 72 3a 20 63 67  68 2b 31 33 3b 0a 20 20  |aCar: cgh+13;.  |
000027f0  20 4c 6f 63 6b 3a 20 63  67 68 2b 31 34 3b 20 55  | Lock: cgh+14; U|
00002800  6e 6c 6f 63 6b 3a 20 63  67 68 2b 31 35 3b 20 4c  |nlock: cgh+15; L|
00002810  6f 63 6b 65 64 3a 20 63  67 68 2b 31 36 3b 0a 20  |ocked: cgh+16;. |
00002820  20 20 4d 6f 76 65 54 6f  41 6e 79 52 3a 20 63 67  |  MoveToAnyR: cg|
00002830  68 2b 31 37 3b 20 4d 6f  76 65 54 6f 41 6e 79 52  |h+17; MoveToAnyR|
00002840  53 6f 6d 65 54 69 6d 65  3a 20 63 67 68 2b 31 38  |SomeTime: cgh+18|
00002850  3b 0a 20 20 20 4d 6f 76  65 54 6f 41 6e 79 43 52  |;.   MoveToAnyCR|
00002860  3a 20 63 67 68 2b 31 39  3b 20 4d 6f 76 65 54 6f  |: cgh+19; MoveTo|
00002870  41 6e 79 43 52 53 6f 6d  65 54 69 6d 65 3a 20 63  |AnyCRSomeTime: c|
00002880  67 68 2b 32 30 3b 0a 20  20 20 55 73 69 6e 67 3a  |gh+20;.   Using:|
00002890  20 63 67 68 2b 32 31 3b  0a 20 20 20 4e 65 78 74  | cgh+21;.   Next|
000028a0  52 3a 20 63 67 68 2b 32  32 3b 0a 20 20 20 4c 6f  |R: cgh+22;.   Lo|
000028b0  73 65 3a 20 63 67 68 2b  32 33 3b 20 49 6e 69 74  |se: cgh+23; Init|
000028c0  53 74 61 63 6b 3a 20 63  67 68 2b 32 34 3b 20 4c  |Stack: cgh+24; L|
000028d0  6f 61 64 3a 20 63 67 68  2b 32 35 3b 0a 20 20 20  |oad: cgh+25;.   |
000028e0  53 74 61 63 6b 3a 20 63  67 68 2b 32 36 3b 20 53  |Stack: cgh+26; S|
000028f0  74 6f 72 65 3a 20 63 67  68 2b 32 37 3b 20 53 74  |tore: cgh+27; St|
00002900  6f 72 65 54 3a 20 63 67  68 2b 32 38 3b 0a 20 20  |oreT: cgh+28;.  |
00002910  20 43 6c 61 73 73 3a 20  63 67 68 2b 32 39 3b 0a  | Class: cgh+29;.|
00002920  20 20 20 49 73 43 6f 6e  73 74 3a 20 63 67 68 2b  |   IsConst: cgh+|
00002930  33 30 3b 0a 20 20 20 50  72 69 6e 74 52 65 67 4c  |30;.   PrintRegL|
00002940  69 73 74 3a 20 63 67 68  2b 33 31 3b 20 50 72 69  |ist: cgh+31; Pri|
00002950  6e 74 53 69 6d 75 6c 61  74 65 64 53 74 61 63 6b  |ntSimulatedStack|
00002960  3a 20 63 67 68 2b 33 32  3b 0a 20 20 20 49 73 53  |: cgh+32;.   IsS|
00002970  69 6d 70 6c 65 53 74 6f  72 65 4c 6f 63 3a 20 63  |impleStoreLoc: c|
00002980  67 68 2b 33 33 3b 0a 20  20 20 49 73 49 6e 61 52  |gh+33;.   IsInaR|
00002990  65 67 69 73 74 65 72 3a  20 63 67 68 2b 33 34 3b  |egister: cgh+34;|
000029a0  0a 20 20 20 53 61 76 65  52 65 67 69 73 74 65 72  |.   SaveRegister|
000029b0  53 74 61 74 65 3a 20 63  67 68 2b 33 35 3b 20 52  |State: cgh+35; R|
000029c0  65 73 74 6f 72 65 52 65  67 69 73 74 65 72 53 74  |estoreRegisterSt|
000029d0  61 74 65 3a 20 63 67 68  2b 33 36 3b 0a 20 20 20  |ate: cgh+36;.   |
000029e0  49 6e 74 65 72 73 65 63  74 69 6f 6e 4f 66 52 65  |IntersectionOfRe|
000029f0  67 69 73 74 65 72 53 74  61 74 65 73 3a 20 63 67  |gisterStates: cg|
00002a00  68 2b 33 37 3b 0a 20 20  20 46 69 6e 64 53 61 76  |h+37;.   FindSav|
00002a10  65 64 53 74 61 74 65 3a  20 63 67 68 2b 33 38 3b  |edState: cgh+38;|
00002a20  20 53 61 76 65 53 74 61  74 65 46 6f 72 4c 61 62  | SaveStateForLab|
00002a30  3a 20 63 67 68 2b 33 39  3b 0a 20 20 20 50 72 69  |: cgh+39;.   Pri|
00002a40  6e 74 52 65 67 69 73 74  65 72 53 74 61 74 65 3a  |ntRegisterState:|
00002a50  20 63 67 68 2b 34 30 3b  0a 20 20 20 49 73 49 6e  | cgh+40;.   IsIn|
00002a60  54 68 65 53 74 61 63 6b  3a 20 63 67 68 2b 34 31  |TheStack: cgh+41|
00002a70  3b 0a 20 20 20 41 72 67  75 6d 65 6e 74 52 65 67  |;.   ArgumentReg|
00002a80  69 73 74 65 72 3a 20 63  67 68 2b 34 32 0a 20 20  |ister: cgh+42.  |
00002a90  20 4d 6f 76 65 54 6f 41  6e 79 43 52 46 6f 72 53  | MoveToAnyCRForS|
00002aa0  74 6f 72 65 54 6f 3a 20  63 67 68 2b 34 33 3b 20  |toreTo: cgh+43; |
00002ab0  4d 6f 76 65 54 6f 41 6e  79 43 52 53 6f 6d 65 54  |MoveToAnyCRSomeT|
00002ac0  69 6d 65 46 6f 72 53 74  6f 72 65 54 6f 3a 20 63  |imeForStoreTo: c|
00002ad0  67 68 2b 34 34 3b 0a 20  20 20 41 64 64 52 65 67  |gh+44;.   AddReg|
00002ae0  49 6e 66 6f 3a 20 63 67  68 2b 34 35 3b 0a 20 20  |Info: cgh+45;.  |
00002af0  20 4c 6f 6f 6b 46 6f 72  53 6c 6f 63 3a 20 63 67  | LookForSloc: cg|
00002b00  68 2b 34 36 3b 0a 20 20  20 4c 6f 6f 6b 46 6f 72  |h+46;.   LookFor|
00002b10  52 65 67 43 6f 6e 74 61  69 6e 69 6e 67 54 79 70  |RegContainingTyp|
00002b20  65 3a 20 63 67 68 2b 34  37 3b 0a 20 20 20 4c 6f  |e: cgh+47;.   Lo|
00002b30  63 49 6e 52 65 67 69 73  74 65 72 3a 20 63 67 68  |cInRegister: cgh|
00002b40  2b 34 38 3b 0a 20 20 20  54 75 72 6e 49 6e 64 49  |+48;.   TurnIndI|
00002b50  6e 74 6f 53 4c 6f 63 3a  20 63 67 68 2b 34 39 3b  |ntoSLoc: cgh+49;|
00002b60  0a 20 20 20 53 77 61 70  53 53 3a 20 63 67 68 2b  |.   SwapSS: cgh+|
00002b70  35 30 3b 0a 20 20 20 52  65 6d 6f 76 65 46 61 6c  |50;.   RemoveFal|
00002b80  73 65 49 6e 64 69 72 65  63 74 69 6f 6e 3a 20 63  |seIndirection: c|
00002b90  67 68 2b 35 31 3b 0a 20  20 20 4c 6f 73 65 52 3a  |gh+51;.   LoseR:|
00002ba0  20 63 67 68 2b 35 32 3b  0a 20 20 20 53 53 45 6e  | cgh+52;.   SSEn|
00002bb0  74 72 79 3a 20 63 67 68  2b 35 33 3b 0a 20 20 20  |try: cgh+53;.   |
00002bc0  49 6e 69 74 69 61 6c 69  73 65 52 65 67 69 73 74  |InitialiseRegist|
00002bd0  65 72 53 6c 61 76 65 3a  20 63 67 68 2b 35 34 3b  |erSlave: cgh+54;|
00002be0  0a 20 20 20 4c 6f 6f 6b  46 6f 72 46 52 3a 20 63  |.   LookForFR: c|
00002bf0  67 68 2b 35 35 3b 0a 20  20 20 48 61 73 53 6c 61  |gh+55;.   HasSla|
00002c00  76 65 64 4c 6f 63 3a 20  63 67 68 2b 35 36 20 7d  |vedLoc: cgh+56 }|
00002c10  0a 0a 47 4c 4f 42 41 4c  20 7b 0a 2f 2f 20 43 47  |..GLOBAL {.// CG|
00002c20  49 0a 20 20 20 43 47 4d  75 6c 74 3a 20 63 67 69  |I.   CGMult: cgi|
00002c30  2b 30 3b 20 43 47 44 69  76 3a 20 63 67 69 2b 31  |+0; CGDiv: cgi+1|
00002c40  3b 20 43 47 52 65 6d 3a  20 63 67 69 2b 32 3b 0a  |; CGRem: cgi+2;.|
00002c50  20 20 20 43 47 4d 69 6e  75 73 3a 20 63 67 69 2b  |   CGMinus: cgi+|
00002c60  33 3b 20 43 47 50 6c 75  73 3a 20 63 67 69 2b 34  |3; CGPlus: cgi+4|
00002c70  3b 0a 20 20 20 46 69 6e  64 53 6f 75 72 63 65 41  |;.   FindSourceA|
00002c80  6e 64 44 65 73 74 69 6e  61 74 69 6f 6e 52 65 67  |ndDestinationReg|
00002c90  69 73 74 65 72 73 3a 20  63 67 69 2b 35 20 7d 0a  |isters: cgi+5 }.|
00002ca0  0a 47 4c 4f 42 41 4c 20  7b 0a 2f 2f 20 43 47 4a  |.GLOBAL {.// CGJ|
00002cb0  0a 20 20 20 4c 61 73 74  49 6e 4c 69 73 74 3a 20  |.   LastInList: |
00002cc0  63 67 6a 2b 30 3b 20 52  65 76 65 72 73 65 49 6e  |cgj+0; ReverseIn|
00002cd0  50 6c 61 63 65 3a 20 63  67 6a 2b 31 3b 20 41 73  |Place: cgj+1; As|
00002ce0  73 6f 63 3a 20 63 67 6a  2b 32 0a 20 20 20 50 72  |soc: cgj+2.   Pr|
00002cf0  69 6e 74 4c 69 73 74 3a  20 63 67 6a 2b 33 3b 20  |intList: cgj+3; |
00002d00  4e 74 68 3a 20 63 67 6a  2b 34 3b 0a 20 20 20 44  |Nth: cgj+4;.   D|
00002d10  65 6c 65 74 65 46 72 6f  6d 4c 69 73 74 3a 20 63  |eleteFromList: c|
00002d20  67 6a 2b 35 3b 20 4c 65  6e 67 74 68 4f 66 4c 69  |gj+5; LengthOfLi|
00002d30  73 74 3a 20 63 67 6a 2b  36 0a 20 20 20 43 6f 70  |st: cgj+6.   Cop|
00002d40  79 4f 66 4c 69 73 74 3a  20 63 67 6a 2b 37 3b 0a  |yOfList: cgj+7;.|
00002d50  0a 20 20 20 41 64 64 54  6f 50 65 6e 64 69 6e 67  |.   AddToPending|
00002d60  53 74 6f 72 65 73 3a 20  63 67 6a 2b 38 3b 20 46  |Stores: cgj+8; F|
00002d70  6c 75 73 68 50 65 6e 64  69 6e 67 53 74 6f 72 65  |lushPendingStore|
00002d80  73 3a 20 63 67 6a 2b 39  3b 0a 20 20 20 46 6c 75  |s: cgj+9;.   Flu|
00002d90  73 68 50 65 6e 64 69 6e  67 53 74 6f 72 65 73 55  |shPendingStoresU|
00002da0  70 54 6f 3a 20 63 67 6a  2b 31 30 3b 20 46 6c 75  |pTo: cgj+10; Flu|
00002db0  73 68 50 65 6e 64 69 6e  67 55 73 65 73 4f 66 52  |shPendingUsesOfR|
00002dc0  65 67 3a 20 63 67 6a 2b  31 31 3b 0a 20 20 20 44  |eg: cgj+11;.   D|
00002dd0  65 6c 52 65 67 46 72 6f  6d 50 65 6e 64 69 6e 67  |elRegFromPending|
00002de0  4c 69 73 74 3a 20 63 67  6a 2b 31 32 3b 20 44 65  |List: cgj+12; De|
00002df0  6c 53 6c 6f 63 46 72 6f  6d 50 65 6e 64 69 6e 67  |lSlocFromPending|
00002e00  4c 69 73 74 3a 20 63 67  6a 2b 31 33 3b 0a 20 20  |List: cgj+13;.  |
00002e10  20 52 65 67 49 6e 50 65  6e 64 69 6e 67 4c 69 73  | RegInPendingLis|
00002e20  74 3a 20 63 67 6a 2b 31  34 3b 20 53 6c 6f 63 49  |t: cgj+14; SlocI|
00002e30  6e 4c 69 73 74 3a 20 63  67 6a 2b 31 35 3b 0a 20  |nList: cgj+15;. |
00002e40  20 20 50 72 69 6e 74 50  65 6e 64 69 6e 67 4c 69  |  PrintPendingLi|
00002e50  73 74 3a 20 63 67 6a 2b  31 36 3b 0a 20 20 20 44  |st: cgj+16;.   D|
00002e60  65 6c 4c 6f 63 73 41 62  6f 76 65 3a 20 63 67 6a  |elLocsAbove: cgj|
00002e70  2b 31 37 3b 20 44 65 6c  4c 6f 63 73 45 78 63 65  |+17; DelLocsExce|
00002e80  70 74 3a 20 63 67 6a 2b  31 38 3b 0a 0a 20 20 20  |pt: cgj+18;..   |
00002e90  41 64 64 54 6f 50 65 6e  64 69 6e 67 4c 6f 61 64  |AddToPendingLoad|
00002ea0  73 3a 20 63 67 6a 2b 32  30 3b 0a 20 20 20 46 6c  |s: cgj+20;.   Fl|
00002eb0  75 73 68 50 65 6e 64 69  6e 67 4c 6f 61 64 73 46  |ushPendingLoadsF|
00002ec0  6f 72 52 65 67 3a 63 67  6a 2b 32 31 3b 20 46 6c  |orReg:cgj+21; Fl|
00002ed0  75 73 68 50 65 6e 64 69  6e 67 4c 6f 61 64 73 46  |ushPendingLoadsF|
00002ee0  6f 72 53 6c 6f 63 3a 20  63 67 6a 2b 32 32 3b 0a  |orSloc: cgj+22;.|
00002ef0  20 20 20 46 6c 75 73 68  50 65 6e 64 69 6e 67 4c  |   FlushPendingL|
00002f00  6f 61 64 73 3a 20 63 67  6a 2b 32 33 3b 20 46 6c  |oads: cgj+23; Fl|
00002f10  75 73 68 50 65 6e 64 69  6e 67 4c 6f 61 64 73 55  |ushPendingLoadsU|
00002f20  70 54 6f 3a 20 63 67 6a  2b 32 34 3b 0a 0a 20 20  |pTo: cgj+24;..  |
00002f30  20 44 65 64 69 63 61 74  65 52 65 67 69 73 74 65  | DedicateRegiste|
00002f40  72 54 6f 4c 6f 63 3a 20  63 67 6a 2b 32 35 3b 20  |rToLoc: cgj+25; |
00002f50  52 65 67 69 73 74 65 72  44 65 64 69 63 61 74 65  |RegisterDedicate|
00002f60  64 54 6f 4c 6f 63 3a 20  63 67 6a 2b 32 36 3b 0a  |dToLoc: cgj+26;.|
00002f70  20 20 20 4c 6f 63 48 65  6c 64 49 6e 52 65 67 69  |   LocHeldInRegi|
00002f80  73 74 65 72 3a 20 63 67  6a 2b 32 37 3b 20 43 6c  |ster: cgj+27; Cl|
00002f90  65 61 72 41 73 73 69 67  6e 65 64 52 65 67 69 73  |earAssignedRegis|
00002fa0  74 65 72 73 3a 20 63 67  6a 2b 32 38 3b 0a 0a 20  |ters: cgj+28;.. |
00002fb0  20 20 46 6c 75 73 68 50  65 6e 64 69 6e 67 4c 6f  |  FlushPendingLo|
00002fc0  61 64 73 45 78 63 65 70  74 4c 6f 63 61 6c 73 3a  |adsExceptLocals:|
00002fd0  20 63 67 6a 2b 32 39 3b  0a 20 20 20 46 6c 75 73  | cgj+29;.   Flus|
00002fe0  68 50 65 6e 64 69 6e 67  53 74 6f 72 65 73 45 78  |hPendingStoresEx|
00002ff0  63 65 70 74 4c 6f 63 61  6c 73 3a 20 63 67 6a 2b  |ceptLocals: cgj+|
00003000  33 30 3b 0a 20 20 20 46  6c 75 73 68 50 65 6e 64  |30;.   FlushPend|
00003010  69 6e 67 53 74 6f 72 65  73 45 78 63 65 70 74 4c  |ingStoresExceptL|
00003020  6f 63 61 6c 73 41 6e 64  49 72 65 67 73 3a 20 63  |ocalsAndIregs: c|
00003030  67 6a 2b 33 31 3b 0a 20  20 20 46 6c 75 73 68 50  |gj+31;.   FlushP|
00003040  65 6e 64 69 6e 67 53 74  6f 72 65 73 46 6f 72 53  |endingStoresForS|
00003050  6c 6f 63 3a 20 63 67 6a  2b 33 32 0a 0a 20 20 20  |loc: cgj+32..   |
00003060  44 65 6c 65 74 65 4c 69  73 74 3a 20 63 67 6a 2b  |DeleteList: cgj+|
00003070  33 33 3b 20 49 6e 73 65  72 74 49 6e 4c 69 73 74  |33; InsertInList|
00003080  42 65 66 6f 72 65 3a 20  63 67 6a 2b 33 34 3b 0a  |Before: cgj+34;.|
00003090  20 20 20 4f 66 66 73 65  74 49 6e 4c 69 73 74 3a  |   OffsetInList:|
000030a0  20 63 67 6a 2b 33 35 20  7d 0a 0a 47 4c 4f 42 41  | cgj+35 }..GLOBA|
000030b0  4c 20 7b 0a 2f 2f 20 43  47 4b 0a 20 20 20 43 47  |L {.// CGK.   CG|
000030c0  46 6c 6f 61 74 3a 20 63  67 6b 2b 30 3b 20 43 47  |Float: cgk+0; CG|
000030d0  46 69 78 3a 20 63 67 6b  2b 31 3b 0a 20 20 20 43  |Fix: cgk+1;.   C|
000030e0  47 46 6f 70 3a 20 63 67  6b 2b 32 3b 20 43 47 46  |GFop: cgk+2; CGF|
000030f0  55 6e 6f 70 3a 20 63 67  6b 2b 33 3b 20 43 47 46  |Unop: cgk+3; CGF|
00003100  43 6f 6d 70 61 72 65 3a  20 63 67 6b 2b 34 3b 0a  |Compare: cgk+4;.|
00003110  20 20 20 4d 6f 76 65 54  6f 41 6e 79 46 52 3a 20  |   MoveToAnyFR: |
00003120  63 67 6b 2b 35 3b 0a 20  20 20 47 65 6e 43 50 44  |cgk+5;.   GenCPD|
00003130  54 3a 20 63 67 6b 2b 36  3b 0a 0a 20 20 20 4d 6f  |T: cgk+6;..   Mo|
00003140  76 65 46 52 74 6f 52 3a  20 63 67 6b 2b 37 3b 20  |veFRtoR: cgk+7; |
00003150  53 74 6f 72 65 46 52 3a  20 63 67 6b 2b 38 3b 0a  |StoreFR: cgk+8;.|
00003160  20 20 20 50 61 63 6b 46  50 4e 75 6d 3a 20 63 67  |   PackFPNum: cg|
00003170  6b 2b 39 3b 0a 20 20 20  4e 65 78 74 46 52 3a 20  |k+9;.   NextFR: |
00003180  63 67 6b 2b 31 30 3b 0a  20 20 20 4d 6f 76 65 52  |cgk+10;.   MoveR|
00003190  74 6f 46 52 3a 20 63 67  6b 2b 31 31 20 7d 0a     |toFR: cgk+11 }.|
0000319f