Re: [fasm-help] define local variables
Brought to you by:
privalov
|
From: Tomasz G. <fa...@me...> - 2002-11-06 08:47:51
|
> How to define local variables in subroutines in FASM?
> in MASM it's done like following:
> test proc ArgNum:DWORD, test:DWORD
> LOCAL testlocal1 :DWORD
> push esi
> push edi
> ...
> pop edi
> pop esi
> ret
> I'd like to know how this will be in FASM
proc test ArgNum,test
testlocal1 dd ?
enter
push esi
push edi
;...
pop edi
pop edi
return
--
Tomasz
|