aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t_32/t_32.asm
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2019-05-27 02:41:51 +0100
committerfishsoupisgood <github@madingley.org>2019-05-27 02:41:51 +0100
commit333b605b2afd472b823aeda0adf0e8b1ea9843c0 (patch)
treebc8f581317897e2e53f278f1716b4471fcdccd4f /tests/t_32/t_32.asm
downloadasl-333b605b2afd472b823aeda0adf0e8b1ea9843c0.tar.gz
asl-333b605b2afd472b823aeda0adf0e8b1ea9843c0.tar.bz2
asl-333b605b2afd472b823aeda0adf0e8b1ea9843c0.zip
initial commit from asl-1.41r8.tar.gzHEADmaster
Diffstat (limited to 'tests/t_32/t_32.asm')
-rw-r--r--tests/t_32/t_32.asm39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/t_32/t_32.asm b/tests/t_32/t_32.asm
new file mode 100644
index 0000000..d7738e5
--- /dev/null
+++ b/tests/t_32/t_32.asm
@@ -0,0 +1,39 @@
+ cpu 68340
+ supmode on
+ include reg683xx.inc
+ page 0
+
+ lpstop #$55aa
+
+ link a6,#10
+ link.l a6,#10
+
+ bgnd
+
+Test1 tbls.b (a4),d5
+Test2: tbls.w 30(a6),d1
+ Test3: tbls.l 20(a4,d5*1),d6
+ Test4: tblsn.b (a4),d5
+ tblsn.w 30(a6),d1
+ tblsn.l 20(a4,d5*1),d6
+ tblu.b (a4),d5
+ tblu.w 30(a6),d1
+ tblu.l 20(a4,d5*1),d6
+ tblun.b (a4),d5
+ tblun.w 30(a6),d1
+ tblun.l 20(a4,d5*1),d6
+
+ tbls.b d1:d2,d3
+ tbls.w d2:d3,d4
+ tbls.l d3:d4,d5
+ tblsn.b d1:d2,d3
+ tblsn.w d2:d3,d4
+ tblsn.l d3:d4,d5
+ tblu.b d1:d2,d3
+ tblu.w d2:d3,d4
+ tblu.l d3:d4,d5
+ tblun.b d1:d2,d3
+ tblun.w d2:d3,d4
+ tblun.l d3:d4,d5
+
+ move.l (d0.l),d0