![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Expert Programmer
|
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 |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#3 |
|
Expert Programmer
|
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 |
|
|
|
|
|
#4 |
|
Professional Programmer
![]() Join Date: Sep 2005
Posts: 419
Rep Power: 3
![]() |
>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. |
|
|
|
|
|
#5 | |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 4
![]() |
Quote:
![]() 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! |
|
|
|
|
|
|
#6 |
|
Expert Programmer
|
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|