Print EStack.c 547 B

12345678910111213141516171819
  1. // Print bottom_estack and top_estack
  2. #define USE_TI89 // Compile for TI-89
  3. #define USE_TI92PLUS // Compile for TI-92 Plus
  4. #define USE_V200 // Compile for V200
  5. #define MIN_AMS 100 // Compile for AMS 1.00 or higher
  6. #define SAVE_SCREEN // Save/Restore LCD Contents
  7. #include <tigcclib.h> // Include All Header Files
  8. // Main Function
  9. void _main(void)
  10. {
  11. ClrScr ();
  12. printf_xy (0, 40, "Bottom = 0x%lp", bottom_estack);
  13. printf_xy (0, 50, "Top = 0x%lp", top_estack);
  14. ngetchx ();
  15. }