home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 15 / CDACTUAL15.iso / cdactual / program / asm / PS_A65.ZIP / MNEMTEST.ASM < prev    next >
Encoding:
Assembly Source File  |  1988-10-07  |  7.6 KB  |  369 lines

  1. test1234:
  2. test1235:
  3.          .org 0
  4.          adc #forward1
  5.          adc #h'ff
  6.          adc (100),y
  7.          adc (100,x)
  8.          adc 100
  9.          adc 1000
  10.          adc 1000,x
  11.          adc 1000,y
  12.          adc forward1,x
  13.          adc h'ff,x
  14.          and #forward1
  15.          and #h'ff
  16.          and (100),y
  17.          and (100,x)
  18.          and 100
  19.          and 1000
  20.          and 1000,x
  21.          and 1000,y
  22.          and forward1,x
  23.          and h'ff,x
  24.          asl 100
  25.          asl 1000
  26.          asl 1000,x
  27.          asl a
  28.          asl forward1,x
  29.          asl h'ff,x
  30.          bcc reltst
  31.          bcs reltst
  32.          beq reltst
  33.          bit 1000
  34.          bit forward1
  35.          bit h'ff
  36. reltst: bmi reltst
  37.          bne reltst
  38.          bpl reltst
  39.          brk
  40.          bvc reltst
  41.          bvs reltst
  42.          clc
  43.          cld
  44.          cli
  45.          clv
  46.          cmp #forward1
  47.          cmp #h'ff
  48.          cmp (100),y
  49.          cmp (100,x)
  50.          cmp 100
  51.          cmp 1000
  52.          cmp 1000,x
  53.          cmp 1000,y
  54.          cmp forward1,x
  55.          cmp h'ff,x
  56.          cpx #forward1
  57.          cpx #h'ff
  58.          cpx 100
  59.          cpx 1000
  60.          cpy #forward1
  61.          cpy #h'ff
  62.          cpy 100
  63.          cpy 1000
  64.          dec 100
  65.          dec 1000
  66.          dec 1000,x
  67.          dec forward1,x
  68.          dec h'ff,x
  69.          dex
  70.          dey
  71.          eor #forward1
  72.          eor #h'ff
  73.          eor (100),y
  74.          eor (100,x)
  75.          eor 100
  76.          eor 1000
  77.          eor 1000,x
  78.          eor 1000,y
  79.          eor forward1,x
  80.          eor h'ff,x
  81.          inc 100
  82.          inc 1000
  83.          inc 1000,x
  84.          inc forward1,x
  85.          inc h'ff,x
  86.          inx
  87.          iny
  88.          jmp (1000)
  89.          jmp 100
  90.          jmp 1000
  91.          jsr 100
  92.          jsr 1000
  93.          lda #forward1
  94.          lda #h'ff
  95.          lda (100),y
  96.          lda (100,x)
  97.          lda 100
  98.          lda 1000
  99.          lda 1000,x
  100.          lda 1000,y
  101.          lda forward1,x
  102.          lda h'ff,x
  103.          ldx #forward1
  104.          ldx #h'ff
  105.          ldx 0,y
  106.          ldx 100
  107.          ldx 100,y
  108.          ldx 1000
  109.          ldx 1000,y
  110.          ldy #forward1
  111.          ldy #h'ff
  112.          ldy 0,x
  113.          ldy 100
  114.          ldy 100,x
  115.          ldy 1000
  116.          ldy 1000,x
  117.          lsr 100
  118.          lsr 1000
  119.          lsr 1000,x
  120.          lsr a
  121.          lsr forward1,x
  122.          lsr h'ff,x
  123.          nop
  124.          ora #forward1
  125.          ora #h'ff
  126.          ora (100),y
  127.          ora (100,x)
  128.          ora 100
  129.          ora 1000
  130.          ora 1000,x
  131.          ora 1000,y
  132.          ora forward1,x
  133.          ora h'ff,x
  134.          pha
  135.          php
  136.          pla
  137.          plp
  138.          rol 100
  139.          rol 1000
  140.          rol 1000,x
  141.          rol a
  142.          rol forward1,x
  143.          rol h'ff,x
  144.          ror 100
  145.          ror 1000
  146.          ror 1000,x
  147.          ror a
  148.          ror forward1,x
  149.          ror h'ff,x
  150.          rti
  151.          rts
  152.          sbc #forward1
  153.          sbc #h'ff
  154.          sbc (100),y
  155.          sbc (100,x)
  156.          sbc 100
  157.          sbc 1000
  158.          sbc 1000,x
  159.          sbc 1000,y
  160.          sbc forward1,x
  161.          sbc h'ff,x
  162.          sec
  163.          sed
  164.          sei
  165.          sta (100),y
  166.          sta (100,x)
  167.          sta 100
  168.          sta 1000
  169.          sta 1000,x
  170.          sta 1000,y
  171.          sta forward1,x
  172.          sta h'ff,x
  173.          stx 100
  174.          stx 1000
  175.          stx forward1,y
  176.          stx h'ff,y
  177.          sty 100
  178.          sty 1000
  179.          sty forward1,x
  180.          sty h'ff,x
  181.          tax
  182.          tay
  183.          tsx
  184.          txa
  185.          txs
  186.          tya
  187. synctst1:
  188.          adc #forward1
  189.          adc #forward2
  190.          adc (forward3),y
  191.          adc (forward3,x)
  192.          adc forward3
  193.          adc forward4
  194.          adc forward4,x
  195.          adc forward4,y
  196.          adc forward1,x
  197.          adc forward2,x
  198.          and #forward1
  199.          and #forward2
  200.          and (forward3),y
  201.          and (forward3,x)
  202.          and forward3
  203.          and forward4
  204.          and forward4,x
  205.          and forward4,y
  206.          and forward1,x
  207.          and forward2,x
  208.          asl forward3
  209.          asl forward4
  210.          asl forward4,x
  211.          asl a
  212.          asl forward1,x
  213.          asl forward2,x
  214.          bcc reltst2
  215.          bcs reltst2
  216.          beq reltst2
  217.          bit forward4
  218.          bit forward1
  219.          bit forward2
  220. reltst2: bmi reltst2
  221.          bne reltst2
  222.          bpl reltst2
  223.          bvc reltst2
  224.          bvs reltst2
  225.          clc
  226.          cld
  227.          cli
  228.          clv
  229.          cmp #forward1
  230.          cmp #forward2
  231.          cmp (forward3),y
  232.          cmp (forward3,x)
  233.          cmp forward3
  234.          cmp forward4
  235.          cmp forward4,x
  236.          cmp forward4,y
  237.          cmp forward1,x
  238.          cmp forward2,x
  239.          cpx #forward1
  240.          cpx #forward2
  241.          cpx forward3
  242.          cpx forward4
  243.          cpy #forward1
  244.          cpy #forward2
  245.          cpy forward3
  246.          cpy forward4
  247.          dec forward3
  248.          dec forward4
  249.          dec forward4,x
  250.          dec forward1,x
  251.          dec forward2,x
  252.          dex
  253.          dey
  254.          eor #forward1
  255.          eor #forward2
  256.          eor (forward3),y
  257.          eor (forward3,x)
  258.          eor forward3
  259.          eor forward4
  260.          eor forward4,x
  261.          eor forward4,y
  262.          eor forward1,x
  263.          eor forward2,x
  264.          inc forward3
  265.          inc forward4
  266.          inc forward4,x
  267.          inc forward1,x
  268.          inc forward2,x
  269.          inx
  270.          iny
  271.          jmp (forward4)
  272.          jmp forward3
  273.          jmp forward4
  274.          jsr forward3
  275.          jsr forward4
  276.          lda #forward1
  277.          lda #forward2
  278.          lda (forward3),y
  279.          lda (forward3,x)
  280.          lda forward3
  281.          lda forward4
  282.          lda forward4,x
  283.          lda forward4,y
  284.          lda forward1,x
  285.          lda forward2,x
  286.          ldx #forward1
  287.          ldx #forward2
  288.          ldx 0,y
  289.          ldx forward3
  290.          ldx forward3,y
  291.          ldx forward4
  292.          ldx forward4,y
  293.          lsr forward3
  294.          lsr forward4
  295.          lsr forward4,x
  296.          lsr a
  297.          lsr forward1,x
  298.          lsr forward2,x
  299.          nop
  300.          ora #forward1
  301.          ora #forward2
  302.          ora (forward3),y
  303.          ora (forward3,x)
  304.          ora forward3
  305.          ora forward4
  306.          ora forward4,x
  307.          ora forward4,y
  308.          ora forward1,x
  309.          ora forward2,x
  310.          pha
  311.          php
  312.          pla
  313.          plp
  314.          rol forward3
  315.          rol forward4
  316.          rol forward4,x
  317.          rol a
  318.          rol forward1,x
  319.          rol forward2,x
  320.          ror forward3
  321.          ror forward4
  322.          ror forward4,x
  323.          ror a
  324.          ror forward1,x
  325.          ror forward2,x
  326.          rti
  327.          rts
  328.          sbc #forward1
  329.          sbc #forward2
  330.          sbc (forward3),y
  331.          sbc (forward3,x)
  332.          sbc forward3
  333.          sbc forward4
  334.          sbc forward4,x
  335.          sbc forward4,y
  336.          sbc forward1,x
  337.          sbc forward2,x
  338.          sec
  339.          sed
  340.          sei
  341.          sta (forward3),y
  342.          sta (forward3,x)
  343.          sta forward3
  344.          sta forward4
  345.          sta forward4,x
  346.          sta forward4,y
  347.          sta forward1,x
  348.          sta forward2,x
  349.          stx forward3
  350.          stx forward4
  351.          stx forward1,y
  352.          stx forward2,y
  353.          sty forward3
  354.          sty forward4
  355.          sty forward1,x
  356.          sty forward2,x
  357.          tax
  358.          tay
  359.          tsx
  360.          txa
  361.          txs
  362.          tya
  363. synctst2:
  364.         .equ forward1,h'00
  365.         .equ forward2,h'ff
  366.         .equ forward3,100
  367.         .equ forward4,1000
  368.         .end
  369.