diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-10-16 12:09:23 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-10-16 12:09:23 +0200 |
| commit | f121522cbd0adf02ed6b8e2dc56450d8289c2991 (patch) | |
| tree | c2bed8b88449756bb38f70ecd688d570c2306c5c /computerenhance.md | |
| parent | 7fd4a8d8627b7cd7044b390751eda66208edf1eb (diff) | |
checkpoint
Diffstat (limited to 'computerenhance.md')
| -rw-r--r-- | computerenhance.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/computerenhance.md b/computerenhance.md index b43f62f..5bcf417 100644 --- a/computerenhance.md +++ b/computerenhance.md @@ -669,6 +669,9 @@ CPU only understand memory in register and simple operations on these bytes.1 # 25. [New Schedule Experiment](https://www.computerenhance.com/p/new-schedule-experiment) # 26. [Simulating ADD, SUB, and CMP](https://www.computerenhance.com/p/simulating-add-jmp-and-cmp) Signed flag is set when the highest bit (sign bit) is set. +`cmp` instructions are ways to turn arithmetic instructions in comparison. +Arithmetics setting the flags is so that you could save on cmp instructions. + # 27. [Simulating Conditional Jumps](https://www.computerenhance.com/p/simulating-conditional-jumps) # 28. [Response to a Reporter Regarding "Clean Code, Horrible Performance"](https://www.computerenhance.com/p/response-to-a-reporter-regarding) |
