WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
 
Forum
 

Make A Skeleton Program, I'm just trying to get any program to run, to see if I set things up correctly.

mmoccaro
Quote Post


New Member
*

Group: Members
Posts: 1
Member No.: 60232
Joined: 25-October 13


Sponsored Links
Hello,

I just downloaded WinASM to practice as I need to learn x86 for school. I believe I have installed everything correctly. My steps were:

1.) Download and Install Hutch's MASM32.
2.) Download and Install WinASM studio (Full Package).
3.) Set my Tools->Options->File & Paths to the correct settings. (Let's hope)

Then, I've been looking around the forums and trying to get something to run, but I get errors every time and I'm not really sure what sequence to hit the buttons in in order to get things to compile. The main thing I've tried is:

1.) New Project
2.) Standard EXE (I really just need to do basic things like Hello World. Would this
be better for "Console Application"?)
3.) Tried to make some sort of skeleton from the examples (or just tried the
examples themselves) with:

.386
.MODEL flat, stdcall
OPTION CASEMAP:NONE
.data
.code
Start:
End Start

which I'm guessing is sort of close to the equivalent of:

#include<stdio.h>

int main()
{
return 0;
}

Then tried hitting buttons in this order to make things work:

1.) Assemble
2.) Link
3.) Go All
4.) Execute

Any pointers on where to go to get myself started? Thank you for the help. I'm sure this is a very common question so I'm quite sorry to waste the space, I just couldn't find another post to help me. Also, I'll be happy to take some screenshots or give more information if necessary. Thanks again!
PMEmail Poster
Top
Slider
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 309
Member No.: 5004
Joined: 11-May 07


This is what I use as my "blank slate."

The include file contains the first 3 lines of your code.

There are quite a few assembler forums still around.

I recommend studying code, asking questions, and downloading the WIN32.HLP which contains many of the Win32 APIs.

Good luck.

Andy

CODE
include \masm32\include\masm32rt.inc


.data

WaterMark � db "SiegeWorks 2013 �__�"; Alt 240 char
%Date � � � db " &@Date "; Compile date
%time � � � db �" &@Time"

.data?

.code

start:

invoke ExitProcess,0

end � � start
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian