Copyright 1986,1987 by Harris Landsberg For reference use only SLINK OBJECT FORMAT: Version 2.00 Pre-fix bit: 0 = absolute c_field only 1 = 5 bit control + fields Control field: Binary Hex Dec Description Fields ------ --- --- ----------- ------ 00000 00 0 Module Name a_field 00001 01 1 Import Module a_field 00010 02 2 Location Label a_field 00011 03 3 Library Request a_field 00100 04 4 Label Load (8) a_field 00101 05 5 Label Load (16) a_field 00110 06 6 Define Storage b_field 00111 07 7 Relative to base b_field 01000 08 8 word(16+16) b_field,d_field,b_field 01001 09 9 byte(Label+8) a_field,d_field,c_field 01010 0A 10 byte(8+Label) c_field,d_field,a_field 01011 0B 11 byte(Label+Label) a_field,d_field,a_field 01100 0C 12 Module End none (byte boundry) 01101 0D 13 word(Label+16) a_field,d_field,b_field 01110 0E 14 word(16+Label) b_field,d_field,a_field 01111 0F 15 byte(Label+Label) a_field,d_field,a_field 10000 10 16 Equate Label a_field,b_field 10001 11 17 Variable Label a_field,b_field 10010 12 18 Link Conditional a_field 10011 13 19 End Conditional none 10100 14 20 10101 15 21 10110 16 22 10111 17 23 11000 18 24 11001 19 25 11010 1A 26 11011 1B 27 11100 1C 28 End of File none (byte boundry) 11101 1D 29 11110 1E 30 11111 1F 31 Optional fields: a_field = 5 bit length + 1-31 (7 bit characters) b_field = 2 bit relocation type + 16 bit (low/high) c_field = 8 bit byte absolute d_field = 3 bit operation (0=+,1=-,2=*,3=/) Relocation type: 00 = absolute word 01 = counter relative 10 = module relative 11 = variable relative Unused control fields are reserved for future expansion and overlay support For further information contact: HARRIS LANDSBERG 1350 East 5th Street Suite 1-J Brooklyn, New York 11230 (718) 951-7075