home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 357_01 / cstar1.exe / MODE.TST < prev    next >
Text File  |  1991-11-15  |  386b  |  25 lines

  1. /*
  2.     Test of one-argument machine mnemonics.
  3.  
  4.     NO line of this file should generate an error.
  5.  
  6.     The first test in each series is short one argument.
  7.     The last test in each series has one extra argument.
  8. */
  9. int mem;
  10. char *a1;
  11. char *pc;
  12. long d2, d3;
  13.  
  14.  
  15. main()
  16. {
  17. neg(*a1);
  18. neg(*(a1+5));
  19. neg(*(a1+d3+5));
  20. neg(*(a1+d3));
  21. pea(*(pc+5));
  22. pea(*(pc+d3+5));
  23. pea(*(pc+d3));
  24. }
  25.