Step Into x64 Assembly · Lesson 3 · Bits & Control Flow
Bitwise Instructions
and, or, xor, not, shifts and rotates: the instructions behind every mask and flag.
- ~25 minreading and coding
- 4missions
- membersaccess
- x64 Assemblylanguage
Part of Step Into x64 Assembly. The full lesson, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.
They are the same operations you used in C, as instructions:
In this lesson
- The bitwise instructions
- xor reg, reg
- Variable shift counts live in cl
- Masks and flags
Missions
- Odd or even
- Extract a byte
- Flip some flags
- Rotate