From f121522cbd0adf02ed6b8e2dc56450d8289c2991 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 16 Oct 2025 12:09:23 +0200 Subject: checkpoint --- computerenhance.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'computerenhance.md') 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) -- cgit v1.2.3-70-g09d2