PORTS Forum
Ports and Interfaces => General Discussion => Topic started by: chet on June 15, 2020, 03:41:47 pm
-
In Intel's book "MCS Basic-52 Operating and Reference Manual" Version 1 & 1.1 page 75, the following print statement is made -Print 3.And.2 with the result of 2. How does this come about? The only logic use of "And" I can find references only 0 's and 1 's and that does not seem to fit the above logic?
-
Reaching all the way back to 1989!
That page explains that the operators perform bitwise operations.
So 3 AND 2:
00000011
AND
00000010
=
00000010