User Tools

Site Tools


notes:c4eng:fall2023:projects:stl1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
notes:c4eng:fall2023:projects:stl1 [2023/09/28 02:56] – [USING BINARY] mwinter4notes:c4eng:fall2023:projects:stl1 [2023/09/28 02:57] (current) – [BITWISE EXCLUSIVE OR] mwinter4
Line 69: Line 69:
 Which would be interpreted in binary as: Which would be interpreted in binary as:
 <code>0011 ^ 0111 == 0100</code>  <code>0011 ^ 0111 == 0100</code> 
 +
 +XOR is an important operation that, when combined with AND, can do operations such as binary addition. 
 ====BITWISE NOT==== ====BITWISE NOT====
 The bitwise NOT operation, represented with the operator <wrap hi>~</wrap>, can be thought of simply as an inverter. That is, it takes some operand and inverts each bit.  The bitwise NOT operation, represented with the operator <wrap hi>~</wrap>, can be thought of simply as an inverter. That is, it takes some operand and inverts each bit. 
notes/c4eng/fall2023/projects/stl1.1695869765.txt.gz · Last modified: 2023/09/28 02:56 by mwinter4