121
Programming / Re: Alternatives to compiling Rust in Firefox port OS/2
« on: May 12, 2021, 02:45:24 pm »From the NASM docs, https://www.nasm.us/xdoc/2.15.05/html/nasmdoc8.html#section-8.4.1
from OMF spec:
...
A Alignment
A 3-bit field that specifies the alignment required when this program segment is placed within a
logical segment. Its values are:
0 Absolute segment.
1 Relocatable, byte aligned.
2 Relocatable, word (2-byte, 16-bit) aligned.
3 Relocatable, paragraph (16-byte) aligned.
4 Relocatable, aligned on a page boundary. (The original Intel 8086 specification
defines a page to be 256 bytes. The IBM implementation of OMF uses a 4096-byte or 4K page size).
5 Relocatable, aligned on a double word (4-byte) boundary.
6 Not supported.
7 Not defined.
So for OMF we have 1,2,4,16,4K only, with no relation what is supported by NASM.