%ifndef IO_DEFS ; See nasm manual section 5.8 %define IO_DEFS section .data STDIN: EQU 0 STDOUT: EQU 1 STDERR: EQU 2 SYS_READ: EQU 0 SYS_WRITE: EQU 1 SYS_EXIT: EQU 60 SUCCESS: EQU 0 %endif