summaryrefslogtreecommitdiff
path: root/05/util.b
diff options
context:
space:
mode:
Diffstat (limited to '05/util.b')
-rw-r--r--05/util.b30
1 files changed, 30 insertions, 0 deletions
diff --git a/05/util.b b/05/util.b
index 4fe72aa..d30efa6 100644
--- a/05/util.b
+++ b/05/util.b
@@ -574,6 +574,36 @@ function leftmost_1bit
return 1
:return_minus1
return -1
+:return_0x10
+ return 0x10
+:return_0x20
+ return 0x20
+:return_0x30
+ return 0x30
+:return_0x40
+ return 0x40
+:return_0x50
+ return 0x50
+:return_0x60
+ return 0x60
+:return_0x70
+ return 0x70
+:return_0x80
+ return 0x80
+:return_0x90
+ return 0x90
+:return_0xa0
+ return 0xa0
+:return_0xb0
+ return 0xb0
+:return_0xc0
+ return 0xc0
+:return_0xd0
+ return 0xd0
+:return_0xe0
+ return 0xe0
+:return_0xf0
+ return 0xf0
function syscall
; I've done some testing, and this should be okay even if