diff options
author | Damian Yerrick <git@pineight.com> | 2020-11-26 14:47:18 -0500 |
---|---|---|
committer | Damian Yerrick <git@pineight.com> | 2020-11-26 14:47:18 -0500 |
commit | 42500d4edeefb71f7163c7bf5b693a2c598616b6 (patch) | |
tree | 2ea87472b3e8ffecf44d85a5e8383e910f5f010a | |
parent | 10b24652123a561282f8e77f6352cbef48de4d61 (diff) |
three 5 or 6 cycles that are always 5 cycles
-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 8739c9b..7a3609d 100644 --- a/Optimizing-assembly-code.md +++ b/Optimizing-assembly-code.md @@ -327,7 +327,7 @@ And don't do: And if either is 0, don't do: ```asm - ; 5 bytes, 5 or 6 cycles + ; 5 bytes, 5 cycles ld a, CVAL ; nor NCVAL jr c, .carry ; nor jr nc xor a @@ -337,7 +337,7 @@ And if either is 0, don't do: And if either is 1 more or less than the other, don't do: ```asm - ; 5 bytes, 5 or 6 cycles + ; 5 bytes, 5 cycles ld a, CVAL ; nor NCVAL jr c, .carry ; nor jr nc inc a ; nor dec a @@ -744,7 +744,7 @@ and don't do: and don't do: ```asm - ; 5 bytes, 5 or 6 cycles + ; 5 bytes, 5 cycles add l ld l, a jr nc, .no_carry |