I use MASM, because I know it efficiently.
I will start using FASM from now on.
But i have a problem when access memory.
For examble,when i want to write a pixel on screen,i use the following in masm:

mov bl,3
mov ax,0A000h
mov es,ax
mov edx,50
mov ecx,100
mov es:,bl ;This instruction in fasm is Illegal.

When i do it in fasm it fails.
How can i do it with fasm ?

Posted on 2002-11-02 03:32:11 by Anonymous
In FASM every address must be in square brackets. es: is the part of the address, therefore es: must be in the brackets:

mov ,bl

Posted on 2002-11-02 06:50:54 by JohnFound
Hello JohnFound

I have understand.

Thanks very much,Manos.
Posted on 2002-11-02 07:44:58 by Anonymous