mach2.c 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. #define RCSID2 "$Id$"
  6. /*
  7. * NS 16032 tokens
  8. */
  9. %token <y_word> REG
  10. %token <y_word> AREG
  11. %token <y_word> FREG
  12. %token <y_word> MREG
  13. %token <y_word> CREG
  14. %token <y_word> EXTERNAL
  15. %token <y_word> TOS
  16. %token <y_word> PC
  17. %token <y_word> INDICATOR
  18. /*
  19. * Instruction types
  20. */
  21. %token <y_word> SETCFG
  22. %token <y_word> LPR
  23. %token <y_word> LCR
  24. %token <y_word> BR
  25. %token <y_word> RET
  26. %token <y_word> BSR
  27. %token <y_word> RDVAL
  28. %token <y_word> CATST
  29. %token <y_word> LCSR
  30. %token <y_word> SEQ
  31. %token <y_word> ADJSP
  32. %token <y_word> JSR
  33. %token <y_word> JUMP
  34. %token <y_word> LFSR
  35. %token <y_word> ADD_F
  36. %token <y_word> CCVIS
  37. %token <y_word> CCVSI
  38. %token <y_word> CCVSS
  39. %token <y_word> CMOV
  40. %token <y_word> ADD_I
  41. %token <y_word> COM
  42. %token <y_word> MUL_I
  43. %token <y_word> MOVID
  44. %token <y_word> FFS
  45. %token <y_word> MOVIF
  46. %token <y_word> MOVFL
  47. %token <y_word> TRUNC
  48. %token <y_word> MOVM
  49. %token <y_word> INSS
  50. %token <y_word> SAVE
  51. %token <y_word> ENTER
  52. %token <y_word> LMR
  53. %token <y_word> MOVS
  54. %token <y_word> CHECK
  55. %token <y_word> INS
  56. %token <y_word> MOVQ
  57. %token <y_word> ACB
  58. %token <y_word> WAIT
  59. %type <y_word> cpu_opts cpu_list string_opts reg_list reg_items