flat assembler
Message board for the users of flat assembler.
Index
> DOS > Newbie question: invalid argument |
Author |
|
baldr 21 Dec 2013, 12:19
lucky7456969,
Look here: ; Target assembler: MASM-6.11. |
|||
21 Dec 2013, 12:19 |
|
lucky7456969 21 Dec 2013, 12:33
I commented out that line, but the error persists.
Is "include" not allowed on fasm? Thanks Jack |
|||
21 Dec 2013, 12:33 |
|
revolution 21 Dec 2013, 12:38
You are going to get more errors with other directives, but for include you need to put the filename in quotation marks. See the examples in the fasm download.
|
|||
21 Dec 2013, 12:38 |
|
baldr 21 Dec 2013, 13:17
lucky7456969,
Are you trying to rewrite MASM source to fasm syntax? You have to understand both in order to do it effectively. In the other case, just use MASM to compile (proper tool for each task). |
|||
21 Dec 2013, 13:17 |
|
lucky7456969 22 Dec 2013, 06:44
Thanks guys, I'll try to study the syntax and understand the differences between the two.
I just found the doc in the fasm directory. Jack |
|||
22 Dec 2013, 06:44 |
|
lucky7456969 23 Dec 2013, 08:02
Another quick question, maybe oversight, couldn't find any info about this
stack_seg_a segment word stack 'STACK' This is a quick standard declaration of a 16-bit MZ segment But fasm doesn't seem to like it. error: illegal instruction Thanks Jack |
|||
23 Dec 2013, 08:02 |
|
sinsi 23 Dec 2013, 08:20
baldr wrote: lucky7456969, This. |
|||
23 Dec 2013, 08:20 |
|
revolution 23 Dec 2013, 08:24
lucky7456969 wrote: error: illegal instruction 1. Look at the 'multiseg' MZ example in the fasm download. 2. Read the fasm manual about how to use the 'segment' directive. |
|||
23 Dec 2013, 08:24 |
|
DOS386 30 Dec 2013, 12:42
lucky7456969 wrote: error: illegal instruction Please RTFM of FASM, check the FASM examples included, check the examples in this subforum, and check the FAQ on the top of this subforum and the Main subforum. http://board.flatassembler.net/topic.php?t=2530 section B. and others _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
30 Dec 2013, 12:42 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.