Advertisement
PT_

Untitled

PT_
May 3rd, 2017
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #include <stdbool.h>
  2. #include <stddef.h>
  3. #include <stdint.h>
  4. #include <tice.h>
  5. #include <math.h>
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. #include <string.h>
  9. #include <debug.h>
  10.  
  11. #include <fileioc.h>
  12. #include <graphx.h>
  13.  
  14. #include "parse.h"
  15. #include "main.h"
  16. #include "errors.h"
  17. #include "output.h"
  18. #include "operator.h"
  19. #include "stack.h"
  20.  
  21. int *tos, *p1, stack[SIZE];
  22.  
  23. void push(unsigned int i) {
  24. *++p1 = i;
  25. }
  26.  
  27. unsigned int pop(void) {
  28. return *(p1--);
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement