summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-27 03:02:59 -0400
committerbd <bdunahu@operationnull.com>2025-04-27 03:02:59 -0400
commit02016761fd158718e243d942272822ad27545e0d (patch)
treec433d04836d3ef3af985772548eafa3c4a3468e1
parent34245fcd5c95c0bd45bc762bb9aa4131fe4d503f (diff)
Add infinity, an infinite loop benchmark test
-rw-r--r--input/infinity.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/input/infinity.asm b/input/infinity.asm
new file mode 100644
index 0000000..16b7fd7
--- /dev/null
+++ b/input/infinity.asm
@@ -0,0 +1,13 @@
+;;;;;;;;
+;;; an infinite loop for testing simulator speed
+
+.data
+.text
+ addi $5 $0 0x0
+LOOP:
+ addi $5 $5 0x1
+ subi $5 $5 0x0
+ jrl LOOP
+ nop
+ nop
+ nop