compiler/min.darwin.asm
Sami Samhuri a4506bab10 [NEW] First hints of cross-platform support. Compiles to Mach-O on Darwin with nasm and gcc.
There is no binary assembler support for Darwin yet! I'm not sure when I will dive into the details
of generating a Mach-O binary from Ruby or C.

[MERGED] Binary assembler support.  It *should* work on ELF but it needs testing on Linux.
2009-05-25 16:26:21 -07:00

6 lines
59 B
NASM

BITS 32
SECTION .text
GLOBAL _main
_main:
mov eax, 0
ret