This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:avr:registers [2010/09/25 08:12] – allan.pettai | en:avr:registers [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 45: | Line 45: | ||
| [{{ : | [{{ : | ||
| - | ~~PB~~ | + | < |
| * **Negation / Inversion** \\ Negation changes the bit's value to its opposite, a 0 becomes a 1 and vice versa. In C, negation is marked with " | * **Negation / Inversion** \\ Negation changes the bit's value to its opposite, a 0 becomes a 1 and vice versa. In C, negation is marked with " | ||
| Line 86: | Line 86: | ||
| </ | </ | ||
| - | ~~PB~~ | + | < |
| ==== Inverting a Single Bit ==== | ==== Inverting a Single Bit ==== | ||
| Line 131: | Line 131: | ||
| </ | </ | ||
| - | ~~PB~~ | + | < |
| ==== Shifting a Bit ==== | ==== Shifting a Bit ==== | ||