root/as/misc/lib_outd/outd1.casl

/* [<][>][^][v][top][bottom][index][help] */
   1 ;; outd.caslを呼び出し、数値を表示する
   2 MAIN    START
   3         LAD     GR2,0
   4 LOOP    LD      GR1,VAL,GR2
   5         CALL    OUTD
   6         LAD     GR2,1,GR2
   7         CPA     GR2,CNT
   8         JZE     FIN
   9         JUMP    LOOP
  10 FIN     RET
  11 VAL     DC      #7FFF,#4000,#2000,#1000
  12         DC      #0800,#0400,#0200,#0100
  13         DC      #0080,#0040,#0020,#0010
  14         DC      #0008,#0004,#0002,#0001
  15         DC      #8000
  16         DC      #8001,#C000,#E000,#F000
  17         DC      #F800,#FC00,#FE00,#FF00
  18         DC      #FF80,#FFC0,#FFE0,#FFF0
  19         DC      #FFF8,#FFFC,#FFFE,#FFFF
  20 CNT     DC      33
  21         END

/* [<][>][^][v][top][bottom][index][help] */