[ Home | Optimize | Current | Project | Tools | Made in France | F.A.Q | Forums | Links |Sources Codes ]

HERE ARE SOME SOURCES CODES THAT MAY HELP BEGINNERS IN THERE ASM APPROACH.

I use some conventions into my sources files : The functions arguments are preceeded with two underscores (__). A local variable has only one underscore and a global variable has nounderscore. Example :

MyFunc      PROC   __dwArg:DWord
            LOCAL  _dwLocal:DWord

            mov    eax,dwAGlobalDWord
            mov    ecx,_dwLocal
            mul    ecx
            add    eax,__dwArg

            ret
MyFunc      ENDP

1-Reading from a file
2-Writing into a file
3-Verifying if a file exists or not
4-Allocating memory
5-Freeing memory

 

[ Home | Optimize | Current | Project | Tools | Made in France | F.A.Q | Forums | Links | Sources Codes ]