aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/064_builtins.patch6
1 files changed, 6 insertions, 0 deletions
diff --git a/patches/patches/064_builtins.patch b/patches/patches/064_builtins.patch
new file mode 100644
index 0000000..cdba367
--- /dev/null
+++ b/patches/patches/064_builtins.patch
@@ -0,0 +1,6 @@
+72,73c72,73
+< const tupni: u8 = @bitReverse(input);
+< print("{b:0>8} backwards is {b:0>8}.\n", .{input});
+---
+> const tupni: u8 = @bitReverse(u8, input);
+> print("{b:0>8} backwards is {b:0>8}.\n", .{input, tupni});