aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t_403
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t_403')
-rw-r--r--tests/t_403/asflags0
-rw-r--r--tests/t_403/t_403.asm27
-rw-r--r--tests/t_403/t_403.doc6
-rw-r--r--tests/t_403/t_403.oribin0 -> 64 bytes
4 files changed, 33 insertions, 0 deletions
diff --git a/tests/t_403/asflags b/tests/t_403/asflags
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/t_403/asflags
diff --git a/tests/t_403/t_403.asm b/tests/t_403/t_403.asm
new file mode 100644
index 0000000..0ee143a
--- /dev/null
+++ b/tests/t_403/t_403.asm
@@ -0,0 +1,27 @@
+ cpu ppc403
+ page 0
+ include stddef60
+
+ org 0x1000
+
+
+ mtdcr 10,r5
+ mtbear r5
+ mfdcr r5,10
+ mfbesr r5
+ wrtee r10
+ wrteei 1
+
+ bdnzl 0x10
+ bdztla 7,0x10
+ beq 0x10
+ beq 2,0x10
+ beq cr2,0x10
+
+ cmpw r1,r2
+ clrlwi r1,r2,5
+
+ mtspr pit,r5
+
+ mcrf cr4,cr5
+ mcrf 4,5
diff --git a/tests/t_403/t_403.doc b/tests/t_403/t_403.doc
new file mode 100644
index 0000000..893ca08
--- /dev/null
+++ b/tests/t_403/t_403.doc
@@ -0,0 +1,6 @@
++------------------------- Test Application 403 -----------------------------+
+| |
+| This is a (synthetic) test of the PPC403's extensions to the PowerPC |
+| basic instruction set. |
+| |
++----------------------------------------------------------------------------+
diff --git a/tests/t_403/t_403.ori b/tests/t_403/t_403.ori
new file mode 100644
index 0000000..8bae53a
--- /dev/null
+++ b/tests/t_403/t_403.ori
Binary files differ