home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource4 / 262_01 / debug.f3 < prev    next >
Text File  |  1988-03-30  |  2KB  |  48 lines

  1. .hd //
  2. .bp
  3. .so a:ljtbl
  4.  
  5.  
  6.  
  7.         -------------------------------------------------------------------------------------------------
  8. page 0        |        |        |        |        |        |        |
  9.         -------------------------------------------------------------------------------------------------
  10.         |        |        |        |        |        |        |
  11. code segment    |call trap    |call trap    |call trap    |        |        |call trap    |
  12.         |        |        |        |        |        |        |
  13.         -------------------------------------------------------------------------------------------------
  14. data segment    |        |        |        |        |        |        |
  15.         |        |        |        |        |        |        |
  16.         -------------------------------------------------------------------------------------------------
  17. free memory    |        |        |        |return address    |return address    |        |
  18. contains symbol|        |        |        |        |        |        |
  19. table        |        |        |        |        |        |        |
  20.         |        |        |        |        |        |        |
  21.         -------------------------------------------------------------------------------------------------
  22.         |        |        |        |        |        |        |
  23.         |        |        |        |        |        |        |
  24. stack        |        |        |        |        |        |        |
  25.         |        |        |fprint+3    |fprint        |        |        |
  26.         |        |return address    |return address    |resume        |resume        |return address    |
  27.         |        |arg1        |arg1        |arg1        |arg1        |arg1        |
  28.         |        |arg2        |arg2        |arg2        |arg2        |arg2        |
  29.         -------------------------------------------------------------------------------------------------
  30. operating    |        |        |        |        |        |        |
  31. system        |        |        |        |        |        |        |
  32.         -------------------------------------------------------------------------------------------------
  33.         |memory after    |fprint is     |trap is called    |call trap is    |trap returns    |resume restores|
  34.         |setup        |called        |        |replaced with    |to fprint.    |original return|
  35.                                 |original    |fprint returns    |address and    |
  36.                                 |contents.    |to resume.    |call trap    |
  37.                                 |return address    |        |instruction    |
  38.                                 |replaced by    |
  39.                                 |address of    |
  40.                                 |resume.    |
  41.  
  42.  
  43. Figure 3
  44. .so a:ljstup
  45.  
  46.     |original return|
  47.                                 |original    |fprint returns    |address and    |
  48.                                 |contents.    |to resume.    |call trap