From 838cb43f2567769ed726ebd0c2a941394ff7ebe8 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sat, 10 Apr 2021 20:26:17 -0400 Subject: added ex064 builtins --- patches/patches/064_builtins.patch | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 patches/patches/064_builtins.patch (limited to 'patches') 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}); -- cgit v1.2.3-70-g09d2