First page Back Continue Last page Overview Graphics
Notes:
By looking at the comments we can find places where the same intention may be implemented in different ways, depending on the circumstances. We just saw a Boolean value implemented so that the address of the constant 10 was used to represent the true value and the address of 0.1 was the false value. We do not have to look very far in the scroll to find two more examples of Boolean implementations.
The upper example shows the straightforward implementation with a 10 bit long 0 value being stored to represent false. The lower example sets the 8 bit or the 4th bit from the right in the I register under a mask to represent true.