diff options
| author | fishsoupisgood <github@madingley.org> | 2019-05-27 02:41:51 +0100 | 
|---|---|---|
| committer | fishsoupisgood <github@madingley.org> | 2019-05-27 02:41:51 +0100 | 
| commit | 333b605b2afd472b823aeda0adf0e8b1ea9843c0 (patch) | |
| tree | bc8f581317897e2e53f278f1716b4471fcdccd4f /tests/t_3201x | |
| download | asl-master.tar.gz asl-master.tar.bz2 asl-master.zip | |
Diffstat (limited to 'tests/t_3201x')
| -rw-r--r-- | tests/t_3201x/asflags | 0 | ||||
| -rw-r--r-- | tests/t_3201x/t_3201x.asm | 74 | ||||
| -rw-r--r-- | tests/t_3201x/t_3201x.doc | 5 | ||||
| -rw-r--r-- | tests/t_3201x/t_3201x.ori | bin | 0 -> 148 bytes | 
4 files changed, 79 insertions, 0 deletions
| diff --git a/tests/t_3201x/asflags b/tests/t_3201x/asflags new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/t_3201x/asflags diff --git a/tests/t_3201x/t_3201x.asm b/tests/t_3201x/t_3201x.asm new file mode 100644 index 0000000..f07148f --- /dev/null +++ b/tests/t_3201x/t_3201x.asm @@ -0,0 +1,74 @@ +                cpu     32015 + +                abs +                apac +                cala +                dint +                eint +                nop +                pac +                pop +                push +                ret +                rovm +                sovm +                spac +                zac + +                b       345h +                banz    345h +                bgez    345h +                bgz     345h +                bioz    345h +                blez    345h +                blz     345h +                bnz     345h +                bv      345h +                bz      345h +                call    345h + +                addh    *,ar1 +                adds    *-,ar0 +                and     *+,ar1 +                dmov    *,1 +                ldp     *-,0 +                lst     *+,1 +                lt      dat123 +                lta     dat45 +                ltd     12h +                mar     *,ar1 +                mpy     *-,ar0 +                or      *+,ar1 +                sst     *,1 +                subc    *-,0 +                subh    *+,1 +                subs    dat123 +                tblr    dat45 +                tblw    12h +                xor     *,ar1 +                zalh    *-,ar0 +                zals    *+,ar1 + +                add     *+,4,ar0 +                lac     *+,ar0 +                sach    12h,4 +                sacl    12h +                sub     12h,6 + +                lack    12h +                ldpk    1 +                mpyk    123h + +                in      *,2,ar1 +                in      45h,4 +                out     *,2,ar1 +                out     45h,4 + +                larp    ar1 +                larp    1 + +                lar     ar1,12h +                sar     1,*,ar0 + +                lark    ar1,12h + diff --git a/tests/t_3201x/t_3201x.doc b/tests/t_3201x/t_3201x.doc new file mode 100644 index 0000000..6fc74f1 --- /dev/null +++ b/tests/t_3201x/t_3201x.doc @@ -0,0 +1,5 @@ ++------------------------- Test Application 3201x ---------------------------+ +|                                                                            | +|       This is a (synthetic) test of the TMS3201x instruction set           | +|                                                                            | ++----------------------------------------------------------------------------+ diff --git a/tests/t_3201x/t_3201x.ori b/tests/t_3201x/t_3201x.oriBinary files differ new file mode 100644 index 0000000..4b0cfb6 --- /dev/null +++ b/tests/t_3201x/t_3201x.ori | 
