home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / pseudo1.zip / A685 / T1.ASM < prev   
Assembly Source File  |  1990-03-06  |  855b  |  34 lines

  1.          .title "Intel compatibility test"
  2.          .opdef dw,.drw
  3.          .opdef db,.db
  4.          .opdef org,.org
  5.          .opdef set,.cset
  6.          .opdef equ,.cequ
  7.          .opdef end,.end
  8.          dw 23,1,2
  9.          dw $23,$1,$2
  10.          dw `23'
  11.          macro testmacro, `dw 23, $1,$2'
  12.          macro testmacro2, `db $1
  13.          db $2,022h,01b,022d,44q
  14.          dw $3,033
  15.          db "this is a test"'
  16.          ;test motorola hex
  17.          changemacroprefix(`@');
  18.          macro testmacro3, `dw 23,@1,@2 ';
  19.          macro testmacro4, `db @1
  20.          db @2,$22,$022
  21.          dw @3,033
  22.          db "this is a test"'
  23.          ;test 1
  24.          testmacro 1,2
  25.          ;test2
  26.          testmacro2 1,2,3
  27.          ;test3
  28.          testmacro3 4,5
  29.          ;test4
  30.          testmacro4 6,7,`8
  31.                   db 9'
  32.  
  33.          end
  34.