flat assembler
Message board for the users of flat assembler.
Index
> Windows > fasmw.exe is unable to bind .res file to .exe file |
Author |
|
yeohhs 05 Dec 2017, 13:53
Hi Mr. Grysztar,
Thank you for flat assembler. It is the best. Back in 2009, I was using fasmw.exe 1.71.51. It can bind a .res file to the .exe file. Today, I downloaded version 1.73.01 and tried using fasmw.exe to build one of my old programs but I find that it is unable to bind the .res file to the .exe file. After that, I tested using fasm.exe, the command line version, for both 1.71.51 and 1.73.01 and found that both are able to bind my .res file to the .exe. I've attached a zip that contains two minimal files, one .asm and one .res. Thanks and best regards, Yeoh
|
|||||||||||
05 Dec 2017, 13:53 |
|
yeohhs 05 Dec 2017, 23:21
Thank you very much.
|
|||
05 Dec 2017, 23:21 |
|
revolution 06 Dec 2017, 03:52
Tomasz Grysztar wrote: It seems there is a tiny bug in the fasmw's lseek interface that causes this problem, that's why it does not show up with console fasm. |
|||
06 Dec 2017, 03:52 |
|
Tomasz Grysztar 06 Dec 2017, 10:42
Thank you, I did not take a look at the one that was working.
Last edited by Tomasz Grysztar on 06 Dec 2017, 11:19; edited 1 time in total |
|||
06 Dec 2017, 10:42 |
|
revolution 06 Dec 2017, 10:55
You can use CMC after the CMP to set the flag accordingly. No need for any Jcc instructions.
Code: ;... call [SetFilePointer] cmp eax,-1 cmc ret |
|||
06 Dec 2017, 10:55 |
|
Tomasz Grysztar 06 Dec 2017, 11:00
I prefer the traditional version, even though it being clearer is probably not a believable reason in case of fasm 1 sources.
|
|||
06 Dec 2017, 11:00 |
|
revolution 06 Dec 2017, 11:03
Tomasz Grysztar wrote: ... even though it being clearer is probably not a believable reason in case of fasm 1 sources. |
|||
06 Dec 2017, 11:03 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.