From d192e528256f7b9986eddc511df01540bd0f62a2 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-ZIG