Hi,
Byte Ptr, Word Ptr -> Assembler directive, telling the
assembler about the size of operand.
For exp, when u assemble an instrn like,
mov ax, data
where "data " is declared in ur program, the assembler
refers its symb0l table and finds the operand size of " data",and hence u need not explicitly specify whether the data fetch is byte size, word size or dword size.
Whereas for an instrn like "mov ax, es:[bx]" , u need to
tell the assembler exactly what type of fetch u wanna
make..Coz, assembler has no idea of what es:[bx] would
b pointing to at run time.
Hope it helps
Regards,
Sarnath.K
Do not rejoice that ur code works.
it might be a special case of an error :-(