0000 1111 1010 0101 | 0FA5 | ||
0011 0110 1000 1111 | 368F | ||
---- ---- ---- ---- | ---- | ||
0011 1111 1010 1111 | 3FAF |
To run the program:
The picture shows the result of running the program. The result in $10 is what was expected. The source code is at the right of each line in the code window (not seen in the cropped window of the picture). The version of the code in the middle column gives the bit patterns in decimal.