flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 13 Mar 2023, 13:38
The CPU headers set up the default "use16" mode when you include them. You need to switch to "use32" after the CPU headers are set up, not before.
This is similar to how FORMAT directive in fasm 1 sets up default mode for the selected format (and the same happens if you use FORMAT emulation in fasmg) - if you need to switch to a different instruction encoding mode, you should do it after setting up the target architecture, not before. You could also assemble the same source as with fasm 1 by adding the [include 'cpu/80486.inc'] statement from the command line with the -i switch. The architecture would be set up before proceeding to the actual source (and the "use32" line), and so the result should be the same as with fasm 1. |
|||
![]() |
|
fabbel 13 Mar 2023, 14:04
OK working now
tx 4 quick reply ! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.