I recently found a short simple algorithm to convert decimal to binary. Alas, it requires raising a number to a power. In Basic Basic, this notation was n^p. I have checked the math operators over and over in PBP and could not find this operator. The ^ is a bitwise exclusive or.
I require a simple program to convert a 1 to 3 digit decimal number to an eight bit binary number.
Bookmarks