Oh,

it is easy !

Shift left all bits by 2 positions (= x4),
store it to a variable X
Shift left all bits by 3 positions (= x32),
add it to the variable X
Shift left all bits by 1 position (= x64),
add it to the variable X

X is holding the result !

It can easily be done by small assembler-code.