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 9163001..d8decfe 100644 --- a/Optimizing-assembly-code.md +++ b/Optimizing-assembly-code.md @@ -116,7 +116,7 @@ But do: add hl, hl ; 1 byte, 2 cycles ``` -(The `SpeciesItemBoost` routine in [engine/battle/effect_commands.asm](.../blob/master/engine/battle/effect_commands.asm#L2811-L2812) actually does this!) +(The `SpeciesItemBoost` routine in [engine/battle/effect_commands.asm](.../blob/master/engine/battle/effect_commands.asm) actually does this!) ### Add `a` to a 16-bit register @@ -268,7 +268,7 @@ But do: ld bc, ONE << 8 | TWO ; 3 bytes, 3 cycles ``` -Or better, use the `lb` macro in [macros/code.asm](../blob/master/macros/code.asm#L3-L5): +Or better, use the `lb` macro in [macros/code.asm](../blob/master/macros/code.asm): ```asm lb bc, ONE, TWO ; 3 bytes, 3 cycles @@ -487,7 +487,7 @@ But do: ... ``` -`_hl_` is a routine already defined in [home.asm](../blob/master/home.asm#L99-L100): +`_hl_` is a routine already defined in [home.asm](../blob/master/home.asm): ```asm _hl_:: |