Author Topic: Use of register to make a console windows .exe program  (Read 3761 times)

g6g6

  • Regular Member
  • *
  • Posts: 22
Use of register to make a console windows .exe program
« 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.

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: Use of register to make a console windows .exe program
« Reply #1 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

g6g6

  • Regular Member
  • *
  • Posts: 22
Re: Use of register to make a console windows .exe program
« Reply #2 on: May 29, 2014, 08:04:20 AM »
Hm.. Unless that I create my own "API", right?

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: Use of register to make a console windows .exe program
« Reply #3 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

g6g6

  • Regular Member
  • *
  • Posts: 22
Re: Use of register to make a console windows .exe program
« Reply #4 on: May 29, 2014, 10:34:58 AM »
--kkkkk..Good.