home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 378.lha / DisEditor / AsmMacros / README < prev    next >
Text File  |  1980-02-03  |  1KB  |  39 lines

  1. This describes the macros in AsmMacros. This a file of 30 macros designed for
  2. assembly programming.  To load the file, select "Macro Load" under the "Setup"
  3. menu. Press Function key F1 at the prompt "Press Function key combo to LOAD".
  4. Enter 30 for the number of macros.
  5.  
  6. F1    -  types a tab, then "move."
  7. F2    -  types a tab, then    "movem.l ,-(sp)" with the cursor before the comma
  8. F3    -  types a tab, then    "movem.l (sp)+,"
  9. F4    -  types a tab, then "addq.l  #"
  10. F5    -  types a tab, then "subq.l  #"
  11.          
  12. F6    -  types a tab, then    "moveq  #0,d"
  13. F7    -  useful for pushing a register onto the stack
  14. F8    -  useful for readjusting the stack for pushed registers
  15. F9    -  useful for loading a6 loading a library base
  16. F10   -  useful for making a library call
  17.  
  18.  
  19. SHIFTED
  20. F1    -  a typical name for exec.library useful in conjunction with macro F9
  21. F2    -   "         "       intuition
  22. F3    -   "         "       graphics
  23. F4    -   "         "       dos
  24. F5    -  
  25. F6    -  an EQU statement
  26. F7    -
  27. F8    -  a SECTION statement  
  28. F9    -  an XREF
  29. F10   -  an XDEF
  30.  
  31.  
  32. ALT
  33. F1    -  sets up a link/unlk with a5
  34. F2    -  an INCLUDE statement
  35.  
  36. F8    -  dc.l
  37. F9    -  dc.w
  38. F10   -  dc.b  (null-terminated string)
  39.