home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 1 / GoldFishApril1994_CD1.img / d2xx / d240 / dis / library / disassemble.g < prev    next >
Text File  |  1989-08-28  |  1KB  |  36 lines

  1. type
  2.     DisassemblerState_t = struct {
  3.     proc(/* ulong address(d0) */)uint ds_readWord;
  4.     proc(/* char ch(d0) */)void ds_putChar;
  5.     proc(/* ulong addr(d0) */)*char ds_findLabel;
  6.     proc(/* ulong addr(d0), refAt(d1); *ulong pTrueAddr(a0) */)*char
  7.         ds_findAbsSymbol;
  8.     proc(/* long offset(d0); ulong refAt(d1) */)*char ds_findRelCode;
  9.     proc(/* long offset(d0); ulong refAt(d1);*long pTrueOffset(a0) */)*char
  10.         ds_findRelData;
  11.     proc(/* ulong addr(d0) */)void ds_labelAt;
  12.     proc(/* ulong addr(d0) */)void ds_branchTo;
  13.     proc(/* ulong addr(d0) */)bool ds_isLabel;
  14.     ulong ds_address;
  15.     ulong ds_relativeBase;
  16.     *char ds_errorMessage;
  17.     uint ds_operandColumn;
  18.     uint ds_column;
  19.     uint ds_extraWord;
  20.     bool ds_putPosition;
  21.     bool ds_absoluteAddress;
  22.     bool ds_putErrors;
  23.     bool ds_capExtended;
  24.     bool ds_putAddress;
  25.     bool ds_putRelForm;
  26.     bool ds_extended;
  27.     bool ds_extendedNow;
  28.     bool ds_illegal;
  29.     bool ds_hadExtraWord;
  30.     };
  31.  
  32. extern
  33.     OpenDisassembleLibrary(ulong version)*Library_t,
  34.     Disassemble(*DisassemblerState_t ds)bool,
  35.     CloseDisassembleLibrary()void;
  36.