This tutorial is about the family of conditional moves called the Set Byte instructions. I'll start by saying exactly what C++ bool values are because the set byte instructions are perfect for dealing with these.
The set byte instructions set their operand to 1 or 0 based on a condition. 1 means the condition passed and 0 means the condition did not pass. They only allow a single byte operand either an 8 bit register or memory.
Like the conditional moves, SETcc instructions are very fast and should be employed to remove jumps wherever possible.
Support What's a Creel? on Patreon:
https://www.patreon.com/whatsacreel
Website:
https://whatsacreel.net/
FaceBook:
https://www.facebook.com/whatsacreel/
Music Channel:
https://www.youtube.com/channel/UC2nWRGqPL6O-Lm8mexWhISQ
Another channel with random things:
https://www.youtube.com/channel/UCK7bPumWNzWRnb3N8LCzKsA