diff --git a/Instruction-Set.md b/Instruction-Set.md index c6be5e7..14db424 100644 --- a/Instruction-Set.md +++ b/Instruction-Set.md @@ -877,7 +877,7 @@ destination = destination + 1 | -------- | ------ | -------- | ----- | ---- | ---- | -------- | ----- | | `DEC destination` | `0x2B` | `destination` : `mem` / `reg` | `-` | `X` | `X` | `X` | `-` | #### Description -`DEC` adds one to the value of destination, replacing the previous value. Unlike [**SUB**](#sub) the carry flag is not modified. If you wish the carry flag to be modified then use `sub dest, 1` instead +`DEC` subtracts one from the value of destination, replacing the previous value. Unlike [**SUB**](#sub) the carry flag is not modified. If you wish the carry flag to be modified then use `sub dest, 1` instead ### Pseudo code ```py