aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t_68040
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t_68040')
-rw-r--r--tests/t_68040/asflags0
-rw-r--r--tests/t_68040/t_68040.asm29
-rw-r--r--tests/t_68040/t_68040.doc6
-rw-r--r--tests/t_68040/t_68040.oribin0 -> 60 bytes
4 files changed, 35 insertions, 0 deletions
diff --git a/tests/t_68040/asflags b/tests/t_68040/asflags
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/t_68040/asflags
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)
+
diff --git a/tests/t_68040/t_68040.doc b/tests/t_68040/t_68040.doc
new file mode 100644
index 0000000..29ec852
--- /dev/null
+++ b/tests/t_68040/t_68040.doc
@@ -0,0 +1,6 @@
++------------------------ Test Application 68040 ----------------------------+
+| |
+| This is a (synthetic) test of the 68040's extensions to the 680x0 |
+| instruction set. |
+| |
++----------------------------------------------------------------------------+
diff --git a/tests/t_68040/t_68040.ori b/tests/t_68040/t_68040.ori
new file mode 100644
index 0000000..3b5f3ac
--- /dev/null
+++ b/tests/t_68040/t_68040.ori
Binary files differ