Welcome to Dream.In.Code
Become an Expert!

Join 136,890 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,760 people online right now. Registration is fast and FREE... Join Now!




Need Help in assembly

 
Reply to this topicStart new topic

Need Help in assembly, want to learn basic asm programming

Trebuntou
5 Jul, 2008 - 04:47 AM
Post #1

New D.I.C Head
*

Joined: 4 Sep, 2007
Posts: 12


My Contributions
I am a new in asm programming and I want to learn more about assembly programming can you all give me a sample program in asm that could inhance me in asm programming.... I hope you can help me... thank you and more power....

MOD EDIT : CODE tags removed.
User is offlineProfile CardPM
+Quote Post

lordms12
RE: Need Help In Assembly
7 Jul, 2008 - 09:17 AM
Post #2

D.I.C Regular
Group Icon

Joined: 16 Feb, 2008
Posts: 314



Thanked: 15 times
Dream Kudos: 225
My Contributions
In the future please do not use code tag else for source code.

You can use WinAsm to try your code.

Example:
asm
.386
.model flat, stdcall
option casemap:none
include windows.inc
include kernel32.inc
include user32.inc

.data
MsgCaption db "Iczelion's tutorial no.2",0
MsgBoxText db "Win32 Assembly is Great!",0

.code
start:
invoke MessageBox, NULL,addr MsgBoxText, addr MsgCaption, MB_OK
invoke ExitProcess,NULL
end start


More Examples.

This post has been edited by lordms12: 7 Jul, 2008 - 10:29 AM
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: Need Help In Assembly
9 Jul, 2008 - 02:04 PM
Post #3

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,461



Thanked: 10 times
Dream Kudos: 325
My Contributions
I would recommend using a more well known assembler like NASM , FASM, YASM, or MASM(32). You'll find more documentation on it that way. smile.gif

If you want to learn assembly, search for tutorials on Google or get a book.

It would be best if you picked the syntax you wanted to learn first.

Do you do any programming already?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 09:07PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month