Author Topic: Windows asm  (Read 6061 times)

Offline James_Parsons

  • New Member
  • Posts: 1
Windows asm
« on: March 29, 2013, 02:27:09 PM »
I have seen lots of tutorials on how to use NASM with windows, but i want to use it w/out the gcc compiling. i know mosern windows doesnt support syscalls or interupts like linux, but is there a way i can write a simple Hello World program for windows w/out a c compiler

Offline Rob Neff

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 429
  • Country: us
Re: Windows asm
« Reply #1 on: March 29, 2013, 02:55:00 PM »
Absolutely you can.  With an assembler like Nasm and a linker you can create any program you'd like.
If you're just starting out on Windows assembly allow me to suggest the NASMX package which contains all the tools you need to do just that.  It also has many examples for both 32-bit and 64-bit programming - from a simple "Hello, world" to complex graphics - for both Windows and Linux.  You don't need to use the macros but they will help make your Windows programming much easier.  See this thread for more info.