(sorry about my bad english)
>
>Waht does ptr do? is it the same as putting something between brackets? []
>
>(sorry about my bad english)
>
>
If you say:
mov byte ptr [bx], 0
you are specifying that [BX] is a pointer to a byte. Without it
how does the assembler know if the 0 is 8-bits or 16-bits?
Basically, byte ptr, word ptr, dword ptr, all tell the assembler
the data type.
Mike Schmit
-------------------------------------------------------------------
msc...@ix.netcom.com author:
408-244-6826 Pentium Processor Programming Tools
800-765-8086 ISBN: 0-12-627230-1
-------------------------------------------------------------------