http://visual-assembler.pt.vu



you need to have the Nagoa version 7 - Jun -2002 :




more then 50 bugs corrected .... ufffffffff



THERE IS A FILE CALLED command.txt
----------------------------------

put it at:
----------


c:\lab\vasm\command.txt
-----------------------


it is the NEW command line tool ! that is at this new NAGOA.EXE




FASM is know the second TOOL !
------------------------------

install as is in the zip file:


it is very important to do so , other way will not work !
---------------------------------------------------------

c:\lab\vasm\fasm\fasm.exe
c:\lab\vasm\fasm\include
c:\lab\vasm\fasm\include\macro
c:\lab\vasm\fasm\projects







1 - put the nagoa.exe at :

C:\lab\vasm\nagoa.exe





get the new nagoa.inc at http://visual-assembler.pt.vu !
********************************************************



2 - put the nagoa.inc at :

C:\lab\vasm\Inc\nagoa.inc






----------------------------------------------------------------------------------------------------------------------

ok thats all , RUN THE NAGOA.EXE !

-----------------------------------------------------------------------------------------------------------------------





























thats all know NaGoA has HLL and call to COM :

;=================================================================
; thanks Scali at #win32asm efnet for the help on this
;=================================================================
; mmioFOURCC,'W', 'A', 'V', 'E' the result is in eax = EVAW
;------------------------------------------------------------------





;================================================================
; CALLCOM or callcom for COM calling
;================================================================
; USAGE :
;================================================================
; callcom ptObject,ptMethod,var1,...,var_n
;================================================================


or

;-----------------------------------
; macro COMCALL
;----------------------------------
; push dword varn
; .......
; push dword var1
; comcall object , interface
; %1 %2
;-----------------------------------
; interface is the COM Object
; method is the COM function
;-----------------------------------




;=========Procedure Declarations
; just to speed the code
;===============================
; exemple
;===============================
; PROC4 myFun: , var_1, var_2, var_3 , var_4
;
; CONST hwnd1, dd 0
; CONST po1, equ 101
; CONST buffer resb 1024
; CONST wc, resb WCLASSEX_size
;
; call SomeFunction,,,,
; leave
; ret 16
;==============================
;
; PROCn myFun: ,var_1,...,var_n
; ....
; call SomeFunction,,..,
; leave
; ret n x 4
;==============================
; remember that if you use some registers , to PUSH them to the stack
; then at the end of the function to POP them in reversse order , to restore the inicial values of them !
;==============================




or use this one:

;=========Procedure Declarations
; HLL macros - procedures
;===============================
; exemple
;===============================
; proc myFun, var1, var, var3
;
; CONST hwnd1, dd 0
; CONST po1, equ 101
; CONST buffer resb 1024
; CONST wc, resb WCLASSEX_size
;
; call SomeFunction,,,
;
; endproc
;
;===============================
; a real example
;===============================
; proc StreamInProc,a2,b2,c2,d2
; call ReadFile,,,,,0
; xor eax,eax
; endproc
;==============================

;==============================
; macro proc
;==============================




********************************************************

switch eax
case 0
; case 0 code goes here
break
case 1
; case 1 code goes here
break
default
; default case code goes here
switchend






*********************************************************


if eax, e, ebx
; eax == ebx
else
; eax != ebx
endif


**********************************************************

for eax, 0, le, ebx, 1
; code to be executed each iteration
next



**********************************************************

while eax, l, 5
; code to repeat while eax is less than 5
wend

repeat
; code to repeat until eax equals 10
until eax, e, 10



**********************************************************
Posted on 2002-06-07 22:07:55 by Nguga