flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman 12 Dec 2013, 14:44
I want do like this:
Dir EQU "C:\fasm\" include Dir # "include\win32a.inc" But fasm compiled error. How fixed this trouble ? ![]() |
|||
![]() |
|
sleepsleep 12 Dec 2013, 14:47
have you try checking windows environment variable?
|
|||
![]() |
|
revolution 12 Dec 2013, 19:12
You will need to use a macro/match block to get the processing order correct.
Code: Dir EQU "C:\fasm\" match x,Dir {include x#"include\win32a.inc" } |
|||
![]() |
|
Roman 13 Dec 2013, 14:18
revolution
match not help. |
|||
![]() |
|
baldr 13 Dec 2013, 14:30
Roman,
Macrooperator # works only inside macroblock (that's the gist of what revolution had said). Show your non-working source (considering that). |
|||
![]() |
|
Roman 13 Dec 2013, 14:46
A write my code in first post
![]() Code: Dir EQU "C:\fasm\" include Dir # "include\win32a.inc" |
|||
![]() |
|
baldr 13 Dec 2013, 14:52
Roman,
Macrooperator # is not inside macroblock (i.e. { } of sorts). |
|||
![]() |
|
EaxRax 14 Dec 2013, 00:20
Roman
Я проверил. Всё работает. Перепиши весь код в точности, который написал revolution, себе в исходник. Пропиши правильный путь, к папке FASM. Убедись, что в папке FASM, есть папка INCLUDE. Если всё сделал правильно, то всё должно заработать. З.Ы. Прикрепил программу для теста (с папкой FASM) (100% работает). Распакуй в любую директорию и запусти файл Compile.bat, для компиляции. =================================================================== I checked. Everything works. Copy all code in accuracy, which wrote by revolution, in your source code. Prescribe the right path to the folder FASM. Make sure that the folder FASM, there is a folder INCLUDE. If you did everything correctly, then it should work. P.S. Attached to the test program (with a folder FASM) (100% working). Unzip to any directory and run the file Compile.bat, to compile.
|
|||||||||||
![]() |
|
Roman 14 Dec 2013, 13:17
EaxRax
На какой версии Fasm-a компилил ? |
|||
![]() |
|
baldr 14 Dec 2013, 15:57
Roman,
Does it matter? I've tried that approach on every fasm version I posess, from 1.62 (when match directive was introduced). Works as expected. |
|||
![]() |
|
EaxRax 15 Dec 2013, 00:02
Roman wrote: EaxRax |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.