aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t_403/t_403.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_403/t_403.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_403/t_403.asm')
-rw-r--r--tests/t_403/t_403.asm27
1 files changed, 27 insertions, 0 deletions
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