Abstract
You already know that you can set or clear bits using bit operations such as and, xor, or, and not. But there are other ways to modify individual bits: bts for setting bits to 1, btr for resetting bits to 0, and bt for testing if a bit is set to 1.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Jo Van Hoey
About this chapter
Cite this chapter
Van Hoey, J. (2019). Bit Manipulations. In: Beginning x64 Assembly Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5076-1_17
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5076-1_17
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5075-4
Online ISBN: 978-1-4842-5076-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books