summaryrefslogtreecommitdiff
path: root/src/nullsub.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/nullsub.S')
-rw-r--r--src/nullsub.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nullsub.S b/src/nullsub.S
new file mode 100644
index 0000000..afdeed9
--- /dev/null
+++ b/src/nullsub.S
@@ -0,0 +1,16 @@
+.text
+
+.global Return
+Return:
+ blr
+
+.global ReturnTrue
+ReturnTrue:
+ li r3, 1
+ blr
+
+.global ReturnFalse
+ReturnFalse:
+ li r3, 0
+ blr
+