I am unclear how branches are assembled: I find branches assembled with 2 bytes, but also many with 4 Bytes, although 2 bytes would be possible.And I could not find any flag to influence this behavior ("optimize" or "always use smallest instruction length" or the like) so I had to force a 2 bytes assembly by putting "Bcc.S" in lots of cases.

Can you please give some hints how the decisions is taken whether or not a branch will be assembled wit 2 of 4 bytes?

Adding optimization of forward branches would require major modifications to the assembler. You may add it to the wish list but it is not something that I will have time to implement. Perhaps someone else will take up the challenge.

Thanks, interesting; anyway, it was meant to be more a feedback than a requirement.Just struggled with a 5000 lines listing and in this case it would have saved quite some time Next time some awk-script will do the remaining job, if the code size really justifies it.

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum