home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s220 / 6.ddi / INTEL.H next >
Encoding:
Text File  |  1990-07-29  |  1.5 KB  |  60 lines

  1. /*               Format of Intel execute file
  2.  
  3.     record format:
  4.         red_type: 1         ---    type of record
  5.         red_len : 2         ---    length of record
  6.         red_data: red_len-1  ---    data of record
  7.         red_sum : 1         ---    check sum code of recode
  8.  
  9.     file head record:    red_type  ---  02H
  10.         red_data:
  11.         fname_len: 1         ---    length of file name
  12.         fname:       fname_len ---    file name
  13.           ?  :       2         ---    (E5 10)
  14.         fdate:       8         ---    date when the file created
  15.         ftime:       8         ---    time when the file created
  16.  
  17.     segments record:       red_type  ---  20H
  18.         red_data:
  19.         seg_data 1  5
  20.         seg_data 2
  21.             .
  22.             .
  23.             .
  24.         seg_data n
  25.         red_sum
  26.        where seg_data:
  27.         seg_type:  1         ---    type of segment
  28.         seg_addr:  2         ---    begin address of segment
  29.         seg_len:   2         ---    length of segment
  30.  
  31.     type declare of public symbols tabel record:  red_type    ---  14H
  32.        red_data:
  33.         psym_type (for symbol 1)  1
  34.         psym_type (for symbol 2)  1
  35.             .
  36.             .
  37.             .
  38.         psym_type (for symbol n)  1
  39.         red_sum
  40.  
  41.     public symbols record:     red_type  ---    16H
  42.        red_data:
  43.         psym_type: 1          ---    type of public symbol
  44.         psym_addr: 2  (for 1) ---    address of public symbol
  45.         psym_len : 1  (for 1) ---    length of public symbol
  46.         psymname : psym_len
  47.         20H       1  (for 1) ---    space between symbols
  48.             .
  49.             .
  50.             .
  51.         psym_addr: 2  (for n) ---    address of public symbol
  52.         psym_len : 1  (for n) ---    length of public symbol
  53.         psymname : psym_len
  54.         20H       1  (for n) ---    flag of end
  55.         red_sum
  56.  
  57.  
  58.  
  59.  
  60.