home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / oslib / Hdr / Debugger < prev    next >
Encoding:
Text File  |  1994-07-01  |  1.3 KB  |  46 lines

  1. ;AAsm header file for Debugger
  2. ;written by DefMod (Jul  1 1994) on Fri Jul  1 16:25:46 1994
  3.  
  4.         [       :LNOT: :DEF: Get_Types
  5.         GBLS    Get_Types
  6. Get_Types                       SETS    "GET OS:Hdr.Types"
  7.         |
  8. Get_Types                       SETS    ""
  9.         ]
  10.         $Get_Types
  11.  
  12.         [       :LNOT: :DEF: Get_OS
  13.         GBLS    Get_OS
  14. Get_OS                          SETS    "GET OS:Hdr.OS"
  15.         |
  16. Get_OS                          SETS    ""
  17.         ]
  18.         $Get_OS
  19.  
  20.         [       :LNOT: :DEF: Debugger_Hdr
  21.         GBLS    Debugger_Hdr
  22.  
  23. ;Symbols for constants
  24. Error_DebugBreakNotFound        *       &800
  25. Error_DebugInvalidValue         *       &801
  26. Error_DebugResetting            *       &802
  27. Error_DebugNoRoom               *       &803
  28. Error_DebugNoBreakpoints        *       &804
  29. Error_DebugBadBreakpoint        *       &805
  30. Error_DebugUndefined            *       &806
  31. Error_DebugNonAligned           *       &807
  32. Error_DebugNoWorkspace          *       &808
  33.  
  34. ;Symbols for SWI's and SWI reason codes
  35. XDebugger_Disassemble           *       &60380
  36. Debugger_Disassemble            *       &40380
  37.    ;Entry
  38.    ;  R0 = instruction (Int)
  39.    ;  R1 = address (pointer to Int)
  40.    ;Exit
  41.    ;  R1 -> disassembly (String)
  42.    ;  R2 = used (Int)
  43.  
  44.         ]
  45.         END
  46.