sub20.mac 915 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. search monsym
  2. radix 10
  3. extern SYMNAM
  4. extern SYMVAL
  5. extern SYMFNC
  6. extern SYMPRP
  7. extern L0001
  8. extern L0002
  9. extern ARG1
  10. extern ARG2
  11. extern ARG3
  12. extern ARG4
  13. extern ARG5
  14. extern ARG6
  15. extern ARG7
  16. extern ARG8
  17. extern ARG9
  18. extern ARG10
  19. extern ARG11
  20. extern ARG12
  21. extern ARG13
  22. extern ARG14
  23. extern ARG15
  24. ; (!*ENTRY INIT EXPR 0)
  25. INIT: intern INIT
  26. SETZM 1
  27. JRST INIT20
  28. ; (!*ENTRY GETC EXPR 0)
  29. GETC: intern GETC
  30. SETZM 1
  31. JRST GETC20
  32. ; (!*ENTRY TIMC EXPR 0)
  33. TIMC: intern TIMC
  34. SETZM 1
  35. JRST TIMC20
  36. ; (!*ENTRY PUTC EXPR 1)
  37. PUTC: intern PUTC
  38. JRST PUTC20
  39. ; (!*ENTRY QUIT EXPR 0)
  40. QUIT: intern QUIT
  41. SETZM 1
  42. JRST QUIT20
  43. ; (!*ENTRY PUTINT EXPR 1)
  44. PUTINT: intern PUTINT
  45. JRST PUTI20
  46. ; (!*ENTRY UNDEFINEDFUNCTION EXPR 1)
  47. L0003: intern L0003
  48. HRRZI 1,1
  49. PUSHJ 15,ERR20
  50. ; (!*ENTRY FLAG EXPR 2)
  51. FLAG: intern FLAG
  52. HRRZI 1,2
  53. PUSHJ 15,ERR20
  54. ; (!*ENTRY !*WTIMES32 EXPR 2)
  55. L0004: intern L0004
  56. IMUL 1,2
  57. POPJ 15,0
  58. end