home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / CROSSASM / 6805.ZIP / MNEMTEST.ASM < prev    next >
Encoding:
Assembly Source File  |  1986-11-21  |  11.9 KB  |  566 lines

  1.          .org 0
  2.          brset0 h'00,reltst1
  3.          brset0 h'ff,reltst1
  4.          brset1 h'00,reltst1
  5.          brset1 h'ff,reltst1
  6.          brset2 h'00,reltst1
  7.          brset2 h'ff,reltst1
  8.          brset3 h'00,reltst1
  9.          brset3 h'ff,reltst1
  10.          brset4 h'00,reltst1
  11.          brset4 h'ff,reltst1
  12.          brset5 h'00,reltst1
  13.          brset5 h'ff,reltst1
  14.          brset6 h'00,reltst1
  15.          brset6 h'ff,reltst1
  16.          brset7 h'00,reltst1
  17.          brset7 h'ff,reltst1
  18. reltst1: brclr0 h'00,reltst1
  19.          brclr0 h'ff,reltst1
  20.          brclr1 h'00,reltst1
  21.          brclr1 h'ff,reltst1
  22.          brclr2 h'00,reltst1
  23.          brclr2 h'ff,reltst1
  24.          brclr3 h'00,reltst1
  25.          brclr3 h'ff,reltst1
  26.          brclr4 h'00,reltst1
  27.          brclr4 h'ff,reltst1
  28.          brclr5 h'00,reltst1
  29.          brclr5 h'ff,reltst1
  30.          brclr6 h'00,reltst1
  31.          brclr6 h'ff,reltst1
  32.          brclr7 h'00,reltst1
  33.          brclr7 h'ff,reltst1
  34.          bset0 h'00
  35.          bset0 h'ff
  36.          bset1 h'00
  37.          bset1 h'ff
  38.          bset2 h'00
  39.          bset2 h'ff
  40.          bset3 h'00
  41.          bset3 h'ff
  42.          bset4 h'00
  43.          bset4 h'ff
  44.          bset5 h'00
  45.          bset5 h'ff
  46.          bset6 h'00
  47.          bset6 h'ff
  48.          bset7 h'00
  49.          bset7 h'ff
  50.          bclr0 h'00
  51.          bclr0 h'ff
  52.          bclr1 h'00
  53.          bclr1 h'ff
  54.          bclr2 h'00
  55.          bclr2 h'ff
  56.          bclr3 h'00
  57.          bclr3 h'ff
  58.          bclr4 h'00
  59.          bclr4 h'ff
  60.          bclr5 h'00
  61.          bclr5 h'ff
  62.          bclr6 h'00
  63.          bclr6 h'ff
  64.          bclr7 h'00
  65.          bclr7 h'ff
  66.          add #h'00
  67.          add #h'ff
  68.          add 100
  69.          add h'00,x
  70.          add h'ff,x
  71.          add 1000
  72.          add h'00,x1
  73.          add h'ff,x1
  74.          add 1000,x
  75.          add h'00,x2
  76.          add h'ff,x2
  77.          add 1000,x2
  78.          adc #h'00
  79.          adc #h'ff
  80.          adc 100
  81.          adc h'00,x
  82.          adc h'ff,x
  83.          adc 1000
  84.          and #h'00
  85.          and #h'ff
  86.          and 100
  87.          and h'00,x
  88.          and h'ff,x
  89.          and 1000
  90.          bit #h'00
  91.          bit #h'ff
  92.          bit 100
  93.          bit h'00,x
  94.          bit h'ff,x
  95.          bit 1000
  96.          cmp #h'00
  97.          cmp #h'ff
  98.          cmp 100
  99.          cmp h'00,x
  100.          cmp h'ff,x
  101.          cmp 1000
  102.          eor #h'00
  103.          eor #h'ff
  104.          eor 100
  105.          eor h'00,x
  106.          eor h'ff,x
  107.          eor 1000
  108.          lda #h'00
  109.          lda #h'ff
  110.          lda 100
  111.          lda h'00,x
  112.          lda h'ff,x
  113.          lda 1000
  114.          ora #h'00
  115.          ora #h'ff
  116.          ora 100
  117.          ora h'00,x
  118.          ora h'ff,x
  119.          ora 1000
  120.          sta 100
  121.          sta h'00,x
  122.          sta h'ff,x
  123.          sta 1000
  124.          sub #h'00
  125.          sub #h'ff
  126.          sub 100
  127.          sub h'00,x
  128.          sub h'ff,x
  129.          sub 1000
  130.          sbc #h'00
  131.          sbc #h'ff
  132.          sbc 100
  133.          sbc h'00,x
  134.          sbc h'ff,x
  135.          sbc 1000
  136.          clra
  137.          clrx
  138.          clr 100
  139.          clr h'00,x
  140.          clr h'ff,x
  141.          clr 0,x
  142.          coma
  143.          comx
  144.          com 100
  145.          com h'00,x
  146.          com h'ff,x
  147.          com 0,x
  148.          nega
  149.          negx
  150.          neg 100
  151.          neg h'00,x
  152.          neg h'ff,x
  153.          neg 0,x
  154.          deca
  155.          decx
  156.          dec 100
  157.          dec h'00,x
  158.          dec h'ff,x
  159.          dec 0,x
  160.          inca
  161.          incx
  162.          inc 100
  163.          inc h'00,x
  164.          inc h'ff,x
  165.          inc 0,x
  166.          rola
  167.          rolx
  168.          rol 100
  169.          rol h'00,x
  170.          rol h'ff,x
  171.          rol 0,x
  172.          rora
  173.          rorx
  174.          ror 100
  175.          ror h'00,x
  176.          ror h'ff,x
  177.          ror 0,x
  178.          lsla
  179.          lslx
  180.          lsl 100
  181.          lsl h'00,x
  182.          lsl h'ff,x
  183.          lsl 0,x
  184.          asra
  185.          asrx
  186.          asr 100
  187.          asr h'00,x
  188.          asr h'ff,x
  189.          asr 0,x
  190.          lsra
  191.          lsrx
  192.          lsr 100
  193.          lsr h'00,x
  194.          lsr h'ff,x
  195.          lsr 0,x
  196.          tsta
  197.          tstx
  198.          tst 100
  199.          tst h'00,x
  200.          tst h'ff,x
  201.          tst 0,x
  202.          jmp x
  203.          jmp 0,x
  204.          jmp 100,x
  205.          jmp 1000,x
  206.          jmp 100,x1
  207.          jmp 0,x1
  208.          jmp 100
  209.          jmp 1000
  210.          jsr x
  211.          jsr 0,x
  212.          jsr 100,x
  213.          jsr 1000,x
  214.          jsr 100,x1
  215.          jsr 0,x1
  216.          jsr 100
  217.          jsr 1000
  218.          ldx #h'00
  219.          ldx #h'ff
  220.          ldx x
  221.          ldx 0,x
  222.          ldx 100,x
  223.          ldx 1000,x
  224.          ldx 100,x1
  225.          ldx 0,x1
  226.          ldx 100
  227.          ldx 1000
  228.          cpx #h'00
  229.          cpx #h'ff
  230.          cpx x
  231.          cpx 0,x
  232.          cpx 100,x
  233.          cpx 1000,x
  234.          cpx 100,x1
  235.          cpx 0,x1
  236.          cpx 100
  237.          cpx 1000
  238.          stx x
  239.          stx 0,x
  240.          stx 100,x
  241.          stx 1000,x
  242.          stx 100,x1
  243.          stx 0,x1
  244.          stx 100
  245.          stx 1000
  246.          tax
  247.          txa
  248.          nop
  249.          rti
  250.          rts
  251.          swi
  252.          wait
  253.          clc
  254.          cli
  255.          rsp
  256.          sec
  257.          sei
  258.          stop
  259.          bra reltst
  260.          brn reltst
  261.          bhi reltst
  262.          bls reltst
  263.          bcc reltst
  264.          bcs reltst
  265. reltst:  bne reltst
  266.          beq reltst
  267.          bhcc reltst
  268.          bhcs reltst
  269.          bpl reltst
  270.          bmi reltst
  271.          bmc reltst
  272.          bms reltst
  273.          bil reltst
  274.          bih reltst
  275.          bsr reltst
  276. synctst1:
  277.          brset0 forward1,reltst2
  278.          brset0 forward2,reltst2
  279.          brset1 forward1,reltst2
  280.          brset1 forward2,reltst2
  281.          brset2 forward1,reltst2
  282.          brset2 forward2,reltst2
  283.          brset3 forward1,reltst2
  284.          brset3 forward2,reltst2
  285.          brset4 forward1,reltst2
  286.          brset4 forward2,reltst2
  287.          brset5 forward1,reltst2
  288.          brset5 forward2,reltst2
  289.          brset6 forward1,reltst2
  290.          brset6 forward2,reltst2
  291.          brset7 forward1,reltst2
  292.          brset7 forward2,reltst2
  293. reltst2: brclr0 forward1,reltst2
  294.          brclr0 forward2,reltst2
  295.          brclr1 forward1,reltst2
  296.          brclr1 forward2,reltst2
  297.          brclr2 forward1,reltst2
  298.          brclr2 forward2,reltst2
  299.          brclr3 forward1,reltst2
  300.          brclr3 forward2,reltst2
  301.          brclr4 forward1,reltst2
  302.          brclr4 forward2,reltst2
  303.          brclr5 forward1,reltst2
  304.          brclr5 forward2,reltst2
  305.          brclr6 forward1,reltst2
  306.          brclr6 forward2,reltst2
  307.          brclr7 forward1,reltst2
  308.          brclr7 forward2,reltst2
  309.          bset0 forward1
  310.          bset0 forward2
  311.          bset1 forward1
  312.          bset1 forward2
  313.          bset2 forward1
  314.          bset2 forward2
  315.          bset3 forward1
  316.          bset3 forward2
  317.          bset4 forward1
  318.          bset4 forward2
  319.          bset5 forward1
  320.          bset5 forward2
  321.          bset6 forward1
  322.          bset6 forward2
  323.          bset7 forward1
  324.          bset7 forward2
  325.          bclr0 forward1
  326.          bclr0 forward2
  327.          bclr1 forward1
  328.          bclr1 forward2
  329.          bclr2 forward1
  330.          bclr2 forward2
  331.          bclr3 forward1
  332.          bclr3 forward2
  333.          bclr4 forward1
  334.          bclr4 forward2
  335.          bclr5 forward1
  336.          bclr5 forward2
  337.          bclr6 forward1
  338.          bclr6 forward2
  339.          bclr7 forward1
  340.          bclr7 forward2
  341.          add #forward1
  342.          add #forward2
  343.          add 100
  344.          add forward1
  345.          add forward1,x
  346.          add forward2,x
  347.          add 1000
  348.          add forward1,x1
  349.          add forward2,x1
  350.          add 1000,x
  351.          add forward1,x2
  352.          add forward2,x2
  353.          add 1000,x2
  354.          add forward3,x
  355.          add forward1,x1
  356.          add forward2,x1
  357.          add forward3,x2
  358.          adc #forward1
  359.          adc #forward2
  360.          adc 100
  361.          adc forward1,x
  362.          adc forward2,x
  363.          adc 1000
  364.          and #forward1
  365.          and #forward2
  366.          and 100
  367.          and forward1,x
  368.          and forward2,x
  369.          and 1000
  370.          bit #forward1
  371.          bit #forward2
  372.          bit 100
  373.          bit forward1,x
  374.          bit forward2,x
  375.          bit 1000
  376.          cmp #forward1
  377.          cmp #forward2
  378.          cmp 100
  379.          cmp forward1,x
  380.          cmp forward2,x
  381.          cmp 1000
  382.          eor #forward1
  383.          eor #forward2
  384.          eor 100
  385.          eor forward1,x
  386.          eor forward2,x
  387.          eor 1000
  388.          lda #forward1
  389.          lda #forward2
  390.          lda 100
  391.          lda forward1,x
  392.          lda forward2,x
  393.          lda 1000
  394.          ora #forward1
  395.          ora #forward2
  396.          ora 100
  397.          ora forward1,x
  398.          ora forward2,x
  399.          ora 1000
  400.          sta 100
  401.          sta forward1,x
  402.          sta forward2,x
  403.          sta 1000
  404.          sub #forward1
  405.          sub #forward2
  406.          sub 100
  407.          sub forward1,x
  408.          sub forward2,x
  409.          sub 1000
  410.          sbc #forward1
  411.          sbc #forward2
  412.          sbc 100
  413.          sbc forward1,x
  414.          sbc forward2,x
  415.          sbc 1000
  416.          clra
  417.          clrx
  418.          clr 100
  419.          clr forward1
  420.          clr forward2
  421.          clr forward1,x
  422.          clr forward2,x
  423.          clr 0,x
  424.          coma
  425.          comx
  426.          com 100
  427.          com forward1,x
  428.          com forward2,x
  429.          com 0,x
  430.          nega
  431.          negx
  432.          neg 100
  433.          neg forward1,x
  434.          neg forward2,x
  435.          neg 0,x
  436.          deca
  437.          decx
  438.          dec 100
  439.          dec forward1,x
  440.          dec forward2,x
  441.          dec 0,x
  442.          inca
  443.          incx
  444.          inc 100
  445.          inc forward1,x
  446.          inc forward2,x
  447.          inc 0,x
  448.          rola
  449.          rolx
  450.          rol 100
  451.          rol forward1,x
  452.          rol forward2,x
  453.          rol 0,x
  454.          rora
  455.          rorx
  456.          ror 100
  457.          ror forward1,x
  458.          ror forward2,x
  459.          ror 0,x
  460.          lsla
  461.          lslx
  462.          lsl 100
  463.          lsl forward1,x
  464.          lsl forward2,x
  465.          lsl 0,x
  466.          asra
  467.          asrx
  468.          asr 100
  469.          asr forward1,x
  470.          asr forward2,x
  471.          asr 0,x
  472.          lsra
  473.          lsrx
  474.          lsr 100
  475.          lsr forward1,x
  476.          lsr forward2,x
  477.          lsr 0,x
  478.          tsta
  479.          tstx
  480.          tst 100
  481.          tst forward1,x
  482.          tst forward2,x
  483.          tst 0,x
  484.          tst 0,x1
  485.          tst h'ff,x1
  486.          jmp x
  487.          jmp 0,x
  488.          jmp 100,x
  489.          jmp 1000,x
  490.          jmp 100,x1
  491.          jmp 0,x1
  492.          jmp 100
  493.          jmp 1000
  494.          jsr x
  495.          jsr 0,x
  496.          jsr 100,x
  497.          jsr 1000,x
  498.          jsr 100,x1
  499.          jsr 0,x1
  500.          jsr 100
  501.          jsr 1000
  502.          ldx #forward1
  503.          ldx #forward2
  504.          ldx x
  505.          ldx 0,x
  506.          ldx 100,x
  507.          ldx 1000,x
  508.          ldx 100,x1
  509.          ldx 0,x1
  510.          ldx 100
  511.          ldx 1000
  512.          cpx #forward1
  513.          cpx #forward2
  514.          cpx x
  515.          cpx 0,x
  516.          cpx 100,x
  517.          cpx 1000,x
  518.          cpx 100,x1
  519.          cpx 0,x1
  520.          cpx 100
  521.          cpx 1000
  522.          stx x
  523.          stx 0,x
  524.          stx 100,x
  525.          stx 1000,x
  526.          stx 100,x1
  527.          stx 0,x1
  528.          stx 100
  529.          stx 1000
  530.          tax
  531.          txa
  532.          nop
  533.          rti
  534.          rts
  535.          swi
  536.          wait
  537.          clc
  538.          cli
  539.          rsp
  540.          sec
  541.          sei
  542.          stop
  543.          bra reltst3
  544.          brn reltst3
  545.          bhi reltst3
  546.          bls reltst3
  547.          bcc reltst3
  548.          bcs reltst3
  549. reltst3:  bne reltst3
  550.          beq reltst3
  551.          bhcc reltst3
  552.          bhcs reltst3
  553.          bpl reltst3
  554.          bmi reltst3
  555.          bmc reltst3
  556.          bms reltst3
  557.          bil reltst3
  558.          bih reltst3
  559.          bsr reltst3
  560. synctst2:
  561.         .equ forward1,h'00
  562.         .equ forward2,h'ff
  563.         .equ forward3,1000
  564.         .org h'1000
  565.          .end
  566.