8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3d03e4 commit c31e44dCopy full SHA for c31e44d
theory/05calculations.md
@@ -15,12 +15,13 @@
15
Take the binary sequence `1101110` and `11011110`. To add them together:
16
1. Convert both the bytes into 8 bits. In our case, it'll be `01101110` and `11011110`
17
2. Add the values. If the answer is 2, carry it over into the next column
18
+
19
| Carry | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
20
|--------|----------|---|---|---|---|---|---|---|---|
21
| Byte 1 | | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 |
22
| Byte 2 | | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 |
23
| | Overflow | | | | | | | | |
-| Answer | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
24
+| Answer | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
25
26
## Logical shifts
27
- A logical shift means to move a binary digit to either the left or the right
0 commit comments