flat assembler
Message board for the users of flat assembler.
Index
> Main > Please help me! |
Author |
|
bteddy1 15 Jan 2022, 16:16
Hello,
Newbie here. Everything I type in returns an error "illegal instruction". The documents states that FASM is based on Intel Syntax with a few changes. I am not getting it. I need a [b][u]FASM specific cheat sheet[/u][/b]. Something that list all; directives - (both common assembly and FASM specific) instructions preprocessor macroinstructions symbolic constants AS they are formatted for FASM. Also they should be one each for dos, windows, and Linux. Not mixed/combined. FASM has been in development over 20 years, there should be something like this someware!?!? attached:cheat sheet example[/u]
|
|||||||||||
15 Jan 2022, 16:16 |
|
macomics 15 Jan 2022, 16:44
bteddy1 wrote: Everything I type in returns an error "illegal instruction". |
|||
15 Jan 2022, 16:44 |
|
bteddy1 16 Jan 2022, 16:16
The examples do not have all the instructions, directives, preprocessor,
macroinstructions, symbolic constants. To;macomics, I am looking for all (not just one) of the Intel syntax that is not standard. Just the syntax that was modified for FASM with out all the additional dialog in the manuals, and yes, I downloaded everything I could from the website and some extra from the forum and youtube. How could you say that basic un cluttered information would not help anyone. Not everyone is starting from a position of experience with multiple languages and systems. Your "succinctly and clearly" is cluttered and obfuscated to me. I am looking for "instruction" "three spaces" "destination" "comma" "source" "semicolon" "comments" |
|||
16 Jan 2022, 16:16 |
|
macomics 16 Jan 2022, 16:21
Intel SDM with all instructions. For more detailed information on commands and directives, it is worth buying and reading one of the many books on assembler for the Intel architecture.
|
|||
16 Jan 2022, 16:21 |
|
al_Fazline 18 Jan 2022, 02:24
bteddy1, why not to read FASM manual? It's actually what I use as reference for intel instructons, even when actually writing with NASM
|
|||
18 Jan 2022, 02:24 |
|
bteddy1 18 Jan 2022, 19:47
[quote] bteddy1, why not to read FASM manual? It's actually what I use as reference for intel instructons, even when actually writing with NASM[/quote]
What makes you think I haven't? You think "well, it makes sense to me" "I use it all the time" Well I have read the manual multiple times and it dosen't make sense to me. It doesn't flow, It doesn't click. Something is missing. The examples will compile if I open them and compile. But if I type it in my self and compile I get "illegal instruction" |
|||
18 Jan 2022, 19:47 |
|
revolution 18 Jan 2022, 19:56
Show the code that gives the error.
We can help you fix it. |
|||
18 Jan 2022, 19:56 |
|
FlierMate 18 Jan 2022, 20:24
It reminds me of saving the .asm source file as UTF-8 encoding with Notepad for Windows and keep getting "illegal instruction" error message from flat assembler.
Make sure you save the source file as plain text or ANSI. Well, this is just one of a few reason you would get "illegal instruction". |
|||
18 Jan 2022, 20:24 |
|
macomics 18 Jan 2022, 20:51
FlierMate wrote: It reminds me of saving the .asm source file as UTF-8 encoding with Notepad for Windows and keep getting "illegal instruction" error message from flat assembler. |
|||
18 Jan 2022, 20:51 |
|
FlierMate 18 Jan 2022, 21:24
macomics wrote:
Yes, people have been complaining about Notepad for Windows with its BOM marker, and suggest alternative text editor like Notepad++. My previous issue with Unicode is here. |
|||
18 Jan 2022, 21:24 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.