Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,720 of 4,675    |
|    Frank Kotler to NimbUs    |
|    Re: interfacing ASM (ia-32) with GNU g77    |
|    26 Jun 17 17:23:36    |
      From: fbkotler@nospicedham.myfairpoint.net              NimbUs wrote:              ...       > *Mod. 2 : The object format expected by g77 on the platform is       > coff, not ELF, so I had to change the assembler command line       > to : 'nasm -f coff asm1fl.asm' .              FWIW, Nasm's "-f coff" output format is for DJGPP. The "-f win32" output       format is the variant of COFF used by Windows. The two are quite similar       and can often be used interchangeably. Apparently it's working for you.              I found another example - much the same as what Bogdan posted. I'm a       little confused by the Fortran parts. In the "equals" example I posted,       the assembly code returns the result on the FPU stack. I don't see where       we asked for that. The "summ_" example "seems" to ask for an 8 byte       integer, but g77 (I found I do have it) complains if I exceed a signed       dword (2 billion and change). Well, I don't claim to know Fortran.              This could be very important. Just in case assembly language doesn't       make that big comeback, Fortran might, so we should be ready! :)              Best,       Frank              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca