Re: Nasm Error



Frank Kotler <fbkotler@xxxxxxxxxxx> écrivait news:5fO3j.21392$Jy1.10525
@trndny02:

Most of Nasm is designed to be OS-ignorant. The output "drivers",
outelf32.c and outelf64.c might be some help.

Unless I'm mistaken, the library is a bigger deal than the compiler.
Nasm uses only a small subset that cares about OS - open, read, write,
close, malloc, free.

Of course. For a Command-line tool, what else? The final demonstration
of the absurdity of writing an Assembler in C, as demonstrated, if this
would only be still required, by FASM, that does the exact same thing
in pure true Assembly, without any overhead, but to rewrite this small
and trivial OS related subset.


Betov.

< http://rosasm.org >








.



Relevant Pages

  • Re: NASM - VC++ Linking Problems
    ... My "experiment" didn't have a "section" or "segment" directive, and still the symbol appeared in the .obj. ... In an output format where it's valid, Nasm should export a "global" symbol - no excuses! ... (I don't mean to knock Watcom - I haven't tried WASM, but the openwatcom package as a whole is quite nice - unless I'm mistaken, the Windows executable of Nasm at SF was built by Watcom - running on Linux!) ... knows about the name mangling scheme used by its "companion" compiler, ...
    (comp.lang.asm.x86)
  • Re: keyboard/mouse programming
    ... conversion is a work in progress. ... As long as the compiler does what you need it to do, ... "Porting" it to NASM should improve it's value for others. ... secondary register. ...
    (alt.lang.asm)
  • Re: Nasm 0.99.01 available
    ... mov eax, ... That's about what Nasm is doing currently. ... completness: EIP-relative addressing. ... We may need to insist on a compiler that *does* meet the ...
    (alt.lang.asm)
  • Re: questions from a newbie
    ... but not as an inline code?. ... or NASM will allow you to produce object files that can then be linked ... The main advantage of this is that the compiler doesn't need to (as ... and then the linker links both object files together. ...
    (alt.lang.asm)
  • Re: non-32bit-relocation
    ... > basically, other code aside, the nasm compiler says, when using -f elf, that ... There are a number of assembly language resources for FreeBSD; ... to do disk I/O, and the BIOS interface does not own the disk, ...
    (freebsd-hackers)