flat assembler
Message board for the users of flat assembler.

flat assembler > Macroinstructions > fasmg freezes on listing macro (split-off thread)

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7312
Location: Kraków, Poland
Once again I posted just before you (but you were perhaps already posting), and the correction I mentioned fixes exactly the issue you wrote about. Wink
Post 18 Oct 2016, 20:19
View user's profile Send private message Visit poster's website Reply with quote
jmg



Joined: 18 Sep 2016
Posts: 62
Tomasz Grysztar wrote:
I have updated my above post just before you answered, with some additional corrections - lines without data were not indented properly.


Our posts crossed. Yes, that has improved indenting, but I'd suggest that this 2-line
Code:
00000008: 25 26 80 FF 28 80 66 FD 
                                  WAITX #20_000_000/4
    

can be on one line ?
Code:
00000008: 25 26 80 FF 28 80 66 FD WAITX #20_000_000/4
    

Tomasz Grysztar wrote:

The improved HEX macro is now in the official package.

Good idea.

Tomasz Grysztar wrote:

For the new listing macro I have not yet decided where to publish it.

Why not in the same place as hex.inc, as they are commonly paired ?

As this shows, they certainly should be tested paired, and users can easily remove HEX if they can use binary, or want other ASCII forms like DB, which srec_cat can give
Post 18 Oct 2016, 20:26
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7312
Location: Kraków, Poland
jmg wrote:
Our posts crossed. Yes, that has improved indenting, but I'd suggest that this 2-line
Code:
00000008: 25 26 80 FF 28 80 66 FD 
                                  WAITX #20_000_000/4
    

can be on one line ?
Oh, right. To fix this, it's enough to change the "if bytes >= 8" condition to stronger "if bytes > 8". I updated the macro in my earlier post once more.
Post 18 Oct 2016, 20:47
View user's profile Send private message Visit poster's website Reply with quote
jmg



Joined: 18 Sep 2016
Posts: 62
Tomasz Grysztar wrote:
Oh, right. To fix this, it's enough to change the "if bytes >= 8" condition to stronger "if bytes > 8". I updated the macro in my earlier post once more.


Yes, seems to have fixed that. Looking a good pair of macros now Smile
Post 18 Oct 2016, 21:20
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.