summaryrefslogtreecommitdiff
path: root/Optimizing-assembly-code.md
diff options
context:
space:
mode:
authornitro2k01 <nitro2k01@gmail.com>2020-11-26 18:52:34 +0100
committernitro2k01 <nitro2k01@gmail.com>2020-11-26 18:52:34 +0100
commit64934430d7cc3683dec4490216a15b3d4339d538 (patch)
treeca7b3eba355a0e5e77f9eb55f99c18467a0ec83e /Optimizing-assembly-code.md
parent6ae7cdf4bb40aa1f43ec5946223ef4fd19bfddfe (diff)
Added formatting to the bit reverse snippet.
Diffstat (limited to 'Optimizing-assembly-code.md')
-rw-r--r--Optimizing-assembly-code.md2
1 files changed, 1 insertions, 1 deletions
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