diff options
Diffstat (limited to 'Optimizing-assembly-code.md')
-rw-r--r-- | Optimizing-assembly-code.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Optimizing-assembly-code.md b/Optimizing-assembly-code.md index 3acb5cb..a2c52d9 100644 --- a/Optimizing-assembly-code.md +++ b/Optimizing-assembly-code.md @@ -1047,7 +1047,7 @@ But do: If you don't need to preserve the value in `a`, then don't do: -``` +```asm ; 4 bytes, 4/5 cycles cp $80 jr nc, .negative @@ -1055,7 +1055,7 @@ If you don't need to preserve the value in `a`, then don't do: And don't do: -``` +```asm ; 4 bytes, 4/5 cycles bit 7, a jr nz, .negative @@ -1063,7 +1063,7 @@ And don't do: Instead, do: -``` +```asm ; 3 bytes, 3/4 cycles rlca jr c, .negative |