I changed assemble.pl so that the 0b constants will work on versions of perl
prior to 5.6.  The problem was that oct before 5.6 did not recognize 0b as a
valid prefix.  Therefore, I created a separate function from_binary that
converts binary numbers to decimal numbers and I now call it instead of oct
for binary constants.  It is a rather crude implementation (I just loop
through each bit and multiply by the appropriate power of 2); however, I
could not find a pretty implementation that held up in a 64 bit environment.
If anyone knows of one, please submit a patch :)

Thanks!
Tanton

Reply via email to