Welcome to Dream.In.Code
Getting Help is Easy!

Join 107,398 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,165 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! 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
post 5 Jul, 2008 - 05:47 AM
Post #1


New D.I.C Head

*
Joined: 4 Sep, 2007
Posts: 11


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

Go to the top of the page


lordms12
post 7 Jul, 2008 - 10:17 AM
Post #2


D.I.C Regular

Group Icon
Joined: 16 Feb, 2008
Posts: 266



Thanked 9 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 - 11:29 AM
User is offlineProfile CardPM

Go to the top of the page

Tom9729
post 9 Jul, 2008 - 03:04 PM
Post #3


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 1,391



Thanked 7 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

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/28/08 04:27PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month