mach2.c 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* $Header$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. /* @(#)mach2.c 1.5 */
  7. /*
  8. * Motorola 68000/68010 tokens
  9. */
  10. %token <y_word> SIZE
  11. %token <y_word> DREG
  12. %token <y_word> AREG
  13. %token <y_word> PC
  14. %token <y_word> CREG
  15. %token <y_word> SPEC
  16. %token <y_word> ABCD
  17. %token <y_word> ADDX
  18. %token <y_word> ADD
  19. %token <y_word> AND
  20. %token <y_word> BITOP
  21. %token <y_word> SHIFT
  22. %token <y_word> SZ_EA
  23. %token <y_word> OP_EA
  24. %token <y_word> OP_NOOP
  25. %token <y_word> OP_EA_D
  26. %token <y_word> LEA
  27. %token <y_word> DBR
  28. %token <y_word> BR
  29. %token <y_word> CMP
  30. %token <y_word> MOVE
  31. %token <y_word> MOVEP
  32. %token <y_word> MOVEM
  33. %token <y_word> MOVEC
  34. %token <y_word> MOVES
  35. %token <y_word> SWAP
  36. %token <y_word> LINK
  37. %token <y_word> UNLK
  38. %token <y_word> TRAP
  39. %token <y_word> STOP
  40. %token <y_word> EXG
  41. %token <y_word> OP_EXT
  42. %token <y_word> RTD
  43. %token <y_word> MODEL
  44. %type <y_word> bcdx op_ea regs rrange
  45. %type <y_word> reg sizedef sizenon creg