From 64934430d7cc3683dec4490216a15b3d4339d538 Mon Sep 17 00:00:00 2001 From: nitro2k01 Date: Thu, 26 Nov 2020 18:52:34 +0100 Subject: Added formatting to the bit reverse snippet. --- Optimizing-assembly-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Optimizing-assembly-code.md') diff --git a/Optimizing-assembly-code.md b/Optimizing-assembly-code.md index 121a719..bf866dc 100644 --- a/Optimizing-assembly-code.md +++ b/Optimizing-assembly-code.md @@ -225,7 +225,7 @@ But do: A slightly faster version of the above code that takes advantage of the `swap` opcode that exists on the GB but is missing on the Z80. (Adapted by nitro2k01.) -``` +```asm ; 15 bytes, 15 cycles ld b, a rlca -- cgit v1.2.3