What makes the function SHL ???
A51 has a SHL operator which does a shift-left. It's not a function.
That's for the pre-processor, it is not for generating instructions. Ex:
MOV R6,#1 OR (MSK SHL 4)