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