(1 / 1)
Date: July 22, 1985 19:50
From: KIM::SHEPPERD
To: @SYS$MAIL:ENGINEER
A number of users have mentioned some of the goofy things that BLISS16 seems to do when you try to tell it to swap the bytes of a word or just to get the high byte of a word. I did some investigation into the matter and have concluded that, "yep, it does things goofy, so don't do that". There is a simple solution (if you haven't already thought of it): SOURCE : WORD; !the source word DEST : WORD; !the dest word REGISTER TMP : UNSIGNED BYTE; !get a fast temp byte TMP = .(SOURCE+1); !get the high byte DEST = .TMP; !put in the dest BLISS-16 generates pretty tight code for this type of thing. ds
Jul 22, 1985