Last edited by juergenkulow on Wed Sep 27, 2023 8:04 am, edited 1 time in total.
Please ask your questions, because switch on the cognition apparatus decides on the only known life in the universe.Wersten :DDüsseldorf NRW Germany Europe Earth Solar System Flake Bubble Orionarm
Milky Way Local_Group Virgo Supercluster Laniakea Universe
This is detailed in the blog (with examples), all it has ever done is a single pass optimization on the ASM code.
That said, FASM is a multi-pass assembler that makes a lot of code optimizations. So, it would appear that FASM is optimizing the ASM code, in addition to the single pass that PB does?
Best wishes to the PB community. Thank you for the memories.
Kuron wrote: Mon Sep 25, 2023 6:53 pm
That said, FASM is a multi-pass assembler that makes a lot of code optimizations.
I think it can optimize the size of the opcodes (to use the smaller ones when possible) but that's about it.
Unless you meant that... but it does not actually change the ASM code.
luis wrote: Mon Sep 25, 2023 7:43 pm
I think it can optimize the size of the opcodes (to use the smaller ones when possible) but that's about it.
Unless you meant that... but it does not actually change the ASM code.
Yes, that's it, optimizing the size of the code by trying to select the smallest opcodes, for example for the jumps, where you have opcodes for near or far jumps with different sizes.
But the ASM code stays the same and it's not optimized in any way.
Kuron wrote: Mon Sep 25, 2023 11:19 pm
You should get them to rewrite the wikipedia page to say what you want it to say.
Uh ? Already does that.
wikipedia wrote:
It makes extensive code-size optimization and allows unconstrained forward referencing
It says "code-size" optimization and the second document linked there (number 7) talk about "code resolving" and that is what is used to select the optimal sized opcodes.