The MASM Forum

Projects => Rarely Used Projects => GoAsm => Topic started by: g6g6 on May 29, 2014, 06:44:48 AM

Title: Use of register to make a console windows .exe program
Post by: g6g6 on May 29, 2014, 06:44:48 AM
 Hello, I am really new with assembly and GoAsm. So, I have some basic dound : I want make a console program that runs in a 32 bits windows machine with .EXE extension that print "hello word" without call a windows API.
Is there a way?
Sorry the errors.

tks.
Title: Re: Use of register to make a console windows .exe program
Post by: dedndave on May 29, 2014, 07:12:11 AM
i don't think you can do much of anything in Win32 without using the API's
Title: Re: Use of register to make a console windows .exe program
Post by: g6g6 on May 29, 2014, 08:04:20 AM
Hm.. Unless that I create my own "API", right?
Title: Re: Use of register to make a console windows .exe program
Post by: dedndave on May 29, 2014, 08:27:17 AM
well, i can display a string "Access Denied" without directly calling an API   :lol:
(or whatever the text is)

Code: [Select]
_main   PROC

    xor     edx,edx
    mov     [edx],edx      ;look ma, no API !!!

_main   ENDP

    END     _main
Title: Re: Use of register to make a console windows .exe program
Post by: g6g6 on May 29, 2014, 10:34:58 AM
--kkkkk..Good.