I have tried most basic instruction "mov ax,B006H" and got the error message

I have tried most basic instruction "mov ax,B006H" and got the error message

Hexadecimal numbers must start with a decimal digit. That is why so many hex constants start with a leading zero.
This will work:
mov ax, 0b006h
mov ax,0B006H
the parser is picky