You could read portb to a word variable, multiply it, read the high byte into buffera,
zero the high byte, multiply the word var again, and copy the new high byte to bufferb.
This would probably end up more complicated in compiled code than just shifting it.
Bookmarks