flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Unix > Sun Solaris | 
| Author | 
 | 
| Chewy509 04 Nov 2007, 23:33 Also when linking with Sun's libc,
 stdin = &__iob[0]; stdout = &__iob[1]; stderr = &__iob[2]; or for us: mov rax, __iob mov [stdin], rax mov rax, __iob+128 mov [stdout], rax mov rax, __iob+256 mov [stdout], rax And Sun uses the SYSV for x86-64 ABI... (Same as Linux and *BSD). | |||
|  04 Nov 2007, 23:33 | 
 | 
| Chewy509 05 Nov 2007, 04:54 PS. The 64bit SYSV ABI is found here: http://www.x86-64.org/documentation/abi-0.98.pdf | |||
|  05 Nov 2007, 04:54 | 
 | 
| dogman 23 Jul 2013, 13:58 Thanks for your posts I'll try building this later on S10. | |||
|  23 Jul 2013, 13:58 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.