mach1.c 688 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 RCSID1 "$Id$"
  6. /*
  7. * Motorola 6809 C declarations
  8. */
  9. extern int dpvalue INIT(-1); /* for setdp pseudo-op */
  10. #ifndef extern
  11. extern int regbit[];
  12. #else
  13. int regbit[] = { /* push-pull coding */
  14. 6, /* D */
  15. 0x10, /* X */
  16. 0x20, /* Y */
  17. 0x40, /* U */
  18. 0x40, /* S */
  19. 0x80, /* PC */
  20. -1, -1,
  21. 2, /* A */
  22. 4, /* B */
  23. 1, /* CC */
  24. 8, /* DP */
  25. };
  26. #endif
  27. /*
  28. * Motorola 6809 register names
  29. */
  30. #define D 0
  31. #define X 1
  32. #define Y 2
  33. #define U 3
  34. #define S 4
  35. #define PC 5
  36. #define A 8
  37. #define B 9
  38. #define CC 10
  39. #define DP 11