home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / aaa / 6809 / card < prev    next >
Encoding:
Text File  |  1986-11-30  |  1.3 KB  |  39 lines

  1. #m 6809    what machine this is for (first line only)
  2. #foo    comment
  3. x;y    two successive bytes
  4. x y    two successive bytes
  5. 07    octal
  6. 0x7    hex
  7. 'c    character constant
  8. '\n    ditto
  9. foo:    label
  10. x=100    definition (numbers only)
  11. .=100    setting location counter (numbers only)
  12. .=.+5    bumping location counter (numbers only)
  13. .text    what it says
  14. .data    ditto
  15. .bss    ditto
  16. =thing    two-byte constant
  17. /thing    lower byte of 16-bit thing
  18. \thing    upper byte of 16-bit thing
  19. %thing    lower byte of 16-bit thing as an offset relative to PC
  20. %%thing    upper byte of 16-bit thing as an offset relative to PC
  21. %f(xyz)    condition-code flags literal (all = *)
  22. %r(xyz)    register mask for psh/pul (pc = p, dpr = z, ccr = c, all of them = *)
  23. x->y    register pair for tfr
  24. x<-y    register pair for tfr
  25. x<->y    register pair for exg
  26. 15(x)    index postbyte, 5-bit offset (cannot be a defined symbol, sorry)
  27. _(x)    index postbyte, 8-bit offset follows
  28. @_(x)    index postbyte, 8-bit offset follows, indirect
  29. __(x)    index postbyte, 16-bit offset follows
  30. (x)    index postbyte, register indirect
  31. -y    index postbyte, register autodecrement
  32. --y    index postbyte, register autodecrement by 2
  33. y+    index postbyte, register autoincrement
  34. y++    index postbyte, register autoincrement by 2
  35. a(y)    index postbyte, offset in A
  36. _(.)    index postbyte, 8-bit offset from PC follows
  37. __(.)    index postbyte, 16-bit offset from PC follows
  38. (__)    index postbyte, indirect extended
  39.