As a general recommendation, you should read some technical documentation on the x86 instructions...
this page is a good start, but the
Intel processor manuals are the real deal.
As for your specific questions:
mul 5 ; ERROR Argument needs type override & Illegal immediate
operands to
mul are either registers or memory locations; immediate values aren't supported.
cwd ; ERROR Argument needs type override& Illegal immediate ;we convert the word from ax in doubleword, in dx:ax
idiv 7 ; ax=b/7
cwd should be fine... this error might be for your
idiv , which has the same restriction as
mul --only registers or memory locations.
mov bx,intermed; Err. Undefined symbol Intermed
Not sure what's wrong off the top of my head.