mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-18 02:06:43 +00:00
Nevermind, I made a mistake
parent
155edfef92
commit
6d0612e689
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user