Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

NASM 2.10 - revised preprocessor (Announce)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 02.05.2012, 22:16

> Hm I was noticed by some chinese student that my ROMOS sources compiled in
> old NASM doesn't longer works with new NASM 2.10.

Are you referring to the finalised 2.10 using the older preprocessor, or to one of the newer preprocessor revisions in the 2.10 RCs?

> I checked the compilation
> process and no errors/warnings was displayed but the code is different. I'm
> going to analyze whats messed up.

Have you tested that anything is actually messed up, ie that it doesn't work? Newer NASMs optimise better, for example, unconditional jumps are shortened even without explicit "short" keyword, and fitting values will select sign-extending instructions even without explicit "byte" keyword. (I think the latter is new even if you previously already specified -Ox on the command line, which is the default now!) For these reasons, byte-incompatible output might still be correct.

> But this doesn't make me very happy I think that established standard should be kept...

There never was a de jure "established standard", just de facto. And the NASM developer team does seem to attempt to keep that supported. However, primarily with grey areas that weren't communicated in the manual very well, sometimes things are broken.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22778 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum