![]() |
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?
|
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.
|
ok thanks for the insight
|
>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/. |
Quote:
Off topic slightly, have yall tried GoASM or PoASM yet? They are both worth a test drive. |
I have never heard of either of those.. i guess looking into won't hurt.
|
| All times are GMT -5. The time now is 7:59 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC