DESKTOP /x1k12                        Ŀ
                          PROGRAM File  
                        
byte#
-----
                
                 0- 1   BRA.S 28 ($601A)
                 2- 5   TEXT size
                 6- 9   DATA size
 0-27   HEADER Ķ10-13   Block Storage Segment size
                14-17   SYMBOLIC size
                18-21   0
                22-25   -
                26-27   Relocation flag
                
                
28-.. PROGRAM  Ķ TEXT
                 DATA
                
                 Each label(for example):
                 0- 7   Name + 0
..-.. SYMBOLIC Ķ 8- 9   Type
                10-13   Value
                
..-.. RELOCATION TABLE
       
       4 bytes = 1st  address to relocate in the TEXT
       1 byte  = next address to relocate )relative to the previous address
       1 byte  = next address to relocate )relocated
       1 byte  = next address to relocate )for distance >254:
       1 byte  = next address to relocate )each 1 means +254
      Ķ1 byte  = next address to relocate )
       1 byte  = next address to relocate )
       1 byte  = next address to relocate )
       1 byte  = next address to relocate )
       . ....  . ... ....... .. ........
       1 byte  = 0   End of table
       

                        Ŀ
                          PROGRAM in Memory  
                        
 byte#
-------
                  
                    0-  3   Low  Transit Program Address = 4(SP)
                    4-  7   High Transit Program Address
                    8- 11   TEXT Address
                   12- 15   TEXT Length
                   16- 19   DATA Address
                   20- 23   DATA Length
                   24- 27   BSS  Address
  0-255 BASEPAGE Ķ 28- 31   BSS  Length
                   32- 35   Disk Transfert Address
                   36- 39   Parent Program Address
                   40- 43   -
                   44- 47   Environment String Address
                   48-127   -            
                  128-255   Command LineĶ128 Numbers of char. in command line
                                         129-255 Parameters+"CR"
                                        
                  
                   TEXT
256-... PROGRAM  Ķ DATA
                   BSS
                  
