From 6d0612e689f49895239de97c476fdbd1e16753f8 Mon Sep 17 00:00:00 2001 From: Amer K Date: Fri, 1 Jun 2018 08:13:51 +0300 Subject: [PATCH] Nevermind, I made a mistake --- Basic-Assembly-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Basic-Assembly-tutorial.md b/Basic-Assembly-tutorial.md index 173527b..0cf3172 100644 --- a/Basic-Assembly-tutorial.md +++ b/Basic-Assembly-tutorial.md @@ -58,7 +58,7 @@ The processor uses the most significant (leftmost, also called the sign bit) bit Let's take the number 5 for example (16-bit): ``` 0000 0000 0000 0101 # The two's complement (signed) value is 5, the unsigned value is 5 - 1111 1111 1111 1010 # The two's complement (signed) value is -5, the unsigned value is 65533 + 1111 1111 1111 1011 # The two's complement (signed) value is -5, the unsigned value is 65533 ^ The sign bit is set ```