Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 11th, 2006, 9:39 PM   #1
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
tutorial problems

Ask i stated before a lot of tutorials use the "." bs (ex. .data .code .stack) and FASM won't let me. Well now other basic code from the tutorials are not working as well. Can someone please refere me to the perfect tutorial that uses fasm IDE or something?
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Jun 11th, 2006, 9:44 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Have you checked the FASM documentation? Tutorials for one assembler won't necessarily be valid for another assembler. Assembly language is mostly machine specific, of course, but it's also tool specific. Many projects will require you to decide where you are going to allocate stack versus data versus code. The mnemonics you refer to are shortcuts for doing that. If your tutorial uses syntax from one assembler and you are using another assembler, you have to know what's what for both, so you can adapt. You are below the level of wide applicability that you get with a high-level language.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 11th, 2006, 10:41 PM   #3
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
ok thanks for the insight
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Jun 12th, 2006, 7:24 AM   #4
Narue
Professional Programmer
 
Narue's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 3 Narue is on a distinguished road
>Ask i stated before a lot of tutorials use the "." bs (ex. .data .code .stack) and FASM won't let me.
I assume you're talking about section headers? FASM treats an otherwise unadorned identifier starting with a period as a local label. Section headers will probably be different depending on the file format you're using. The manual explains which directives are available for which formats.

>Can someone please refere me to the perfect tutorial that uses fasm IDE or something?
There's no such thing as a perfect tutorial for you unless you write it yourself. But by then you don't need one. In all honesty, I don't know of any good tutorials that use FASM, though I'm writing an assembly book that focuses on FASM. Unfortunately, it's nowhere near completion. Your best bet is to make good use of the documentation and forums at http://flatassembler.net/.
__________________
Even if the voices aren't real, they have some pretty good ideas.
Narue is offline   Reply With Quote
Old Jun 12th, 2006, 4:04 PM   #5
lostcauz
Hobbyist Programmer
 
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 4 lostcauz is on a distinguished road
Quote:
Originally Posted by Narue
... though I'm writing an assembly book that focuses on FASM.
That's great to hear Narue! I haven't used FASM all that much but I am impressed with it. Good luck with your book, a decent x86 assembly book is certainly needed and I'm sure it will be well received.

Off topic slightly, have yall tried GoASM or PoASM yet? They are both worth a test drive.
__________________
-- lostcauz

Stepped in what?...
Behind whose barn?...
I didn't even know they had a cow!
lostcauz is offline   Reply With Quote
Old Jun 14th, 2006, 10:06 AM   #6
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
I have never heard of either of those.. i guess looking into won't hurt.
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:03 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC