Hello.
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 ?
Thanks,Manos.
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 ?
Thanks,Manos.
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
Regards!
mov ,bl
Regards!
Hello JohnFound
I have understand.
Thanks very much,Manos.
I have understand.
Thanks very much,Manos.