This is part of one code and im learning assembly. I want to kwon what are tose @@, @F, @B and what are them for.



mov esi,dword ptr eax
@@: lodsb
cmp al,0
je @F
stosb
jmp @B
@@: mov al,' '

Full code
Posted on 2004-11-05 11:36:30 by Linkku
The @@ is a reusable lable.
@F means search forwards for the next @@ lable.
@B means search bacwards for the previous @@ lable.

Mirno
Posted on 2004-11-05 11:47:49 by Mirno
The @@ is a reusable lable.
@F means search forwards for the next @@ lable.
@B means search bacwards for the previous @@ lable.

Mirno

Ok. What means @data?
Posted on 2004-11-05 12:13:08 by Linkku
@data means "address of the data segment".

Usually the first rows of a 16bit exe are


mov ax, @data
mov ds, ax
mov es, ax


You have to do this because on entry ds points to the PSP segment
Posted on 2004-11-05 14:31:40 by greenant