flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 30 Jul 2004, 14:05
1) Actually the ALIGN directive uses 90h bytes. To fill the alignment area with anything other you can use some of the macros, that were posted here: http://board.flatassembler.net/topic.php?t=1570
2) Since the floating point numbers starting with dot have been disallowed in the recent releases (see http://board.flatassembler.net/topic.php?t=1279&postdays=0&postorder=asc&start=25#8393), you can use such label freely. Please update. ![]() 3) Since the addresses for source lines are what you need (as it seems you don't use any disassembler or debugger), the listing add-on is what you could use. It was posted here: http://board.flatassembler.net/topic.php?t=863 |
|||
![]() |
|
kake_zinger 09 Aug 2004, 13:30
Thanks for the update, I had just updated to 1.53, time for 1.54 already!
Although I still think that you could make an output listing a fixed feature. Address, encoded instruction, and original mnemonic, that would fill every need. I still sometimes use DEBUG simply for the convenience of seeing the encoding etc right away. |
|||
![]() |
|
kake_zinger 09 Aug 2004, 13:38
As a matter of fact, one more suggestion: mov [0b8000h],'A B ' and fasm complains about missing size. Hello fasm, I just specified it there with a 4 byte string, so would that be a dword for you sir under any circumstances?
I really can't see a situation where the string size would NOT describe the size, so this should be a safe upgrade. |
|||
![]() |
|
vid 09 Aug 2004, 13:41
you are right, but having checked every such case could result in FASM becoming not so clear, and if you are forced to write that dword you are sure you know what you are doing.
|
|||
![]() |
|
decard 09 Aug 2004, 13:45
what about unicode strings then? 'AB' can be two bytes long as ANSI string, and 4 bytes as Unicode.
|
|||
![]() |
|
scientica 09 Aug 2004, 19:30
unicode, isn't there the "du" macro?
|
|||
![]() |
|
decard 09 Aug 2004, 20:43
yes, there is, but it was about instructions like mov [324324],'AB', not about data declaration.
But, after I thought about it, I think that you are right and mov [24532], 'A BCD" should assume that 'ABCD' is 4 byte long and not require size operatror. |
|||
![]() |
|
vid 10 Aug 2004, 05:18
by the way - du isn't macro, it's directive.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.