aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t_68040/t_68040.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_68040/t_68040.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_68040/t_68040.asm')
-rw-r--r--tests/t_68040/t_68040.asm29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/t_68040/t_68040.asm b/tests/t_68040/t_68040.asm
new file mode 100644
index 0000000..b356a56
--- /dev/null
+++ b/tests/t_68040/t_68040.asm
@@ -0,0 +1,29 @@
+ cpu 68040
+ supmode on
+ pmmu on
+
+ move16 (a1)+,(a3)+
+ move16 (a4)+,$1234
+ move16 $12345,(a5)+
+ move16 (a6),$12345
+ move16 $1234,(a7)
+
+ cinva dc
+ cinva ic
+ cinva dc/ic
+ cinvl dc/ic,(a1)
+ cinvp dc/ic,(a2)
+ cpusha dc
+ cpusha ic
+ cpusha ic/dc
+ cpushl dc/ic,(a3)
+ cpushp dc/ic,(a4)
+
+ pflushn (a2)
+ pflush (a3)
+ pflushan
+ pflusha
+
+ ptestw (a2)
+ ptestr (a4)
+