home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / DISASM.ZIP / DISASM.H < prev    next >
Text File  |  1992-02-09  |  2KB  |  31 lines

  1. /*==========================================================================*/
  2. /* DISASM.H - 386 Code Disassembly Engine Include File                      */
  3. /*==========================================================================*/
  4. /*                                                                          */
  5. /*    History:                                                              */
  6. /*                                                                          */
  7. /* 11-25-90 - Created this file                                             */
  8. /* 01-02-92 - Added code to handle additional opcodes                       */
  9. /*                                                                          */
  10. /*           (C)Copyright 1990 J.P. Cossette, All rights reserved.          */
  11. /*==========================================================================*/
  12.  
  13. /*--------------------------------------------------------------------------*/
  14. /* Application Data Structure Definition                                    */
  15. /*--------------------------------------------------------------------------*/
  16. typedef  struct _DISASM
  17. {
  18.     VOID           *csip;              /* CS:IP                                          */
  19.     USHORT         ilen;               /* Instruction length                             */
  20.     UCHAR          longoper;           /* YES/NO value. Is instr in 32 bit operand mode? */
  21.     UCHAR          longaddr;           /* YES/NO value. Is instr in 32 bit address mode? */
  22.     UCHAR          fp_flag;            /* Is register a FLOATING POINT reg ???           */
  23.     UCHAR          buf[80];            /* String holding disassembled instruction        */
  24. } DISASM;
  25.  
  26. /*--------------------------------------------------------------------------*/
  27. /* .DLL Entry Point                                                         */
  28. /*--------------------------------------------------------------------------*/
  29. SHORT    APIENTRY  DisAssemble(DISASM*, USHORT, SHORT);
  30.  
  31.