Compare commits

...

No commits in common. "6549711bfe9d4953dfdf84d867bf29612067b250" and "6c6bed6c7e99d2e0e7fbdcbb66cfe0d8901d07ec" have entirely different histories.

6
cat.s
View File

@ -1,17 +1,13 @@
;; -*- mode: nasm -*-
%define SYS_open 0x2
%define SYS_close 0x3
%define SYS_write 0x1
%define SYS_read 0x0
%define SYS_lseek 0x8
%define SYS_exit 0x3c
%define SYS_fcntl 0x48
%define O_RDONLY 0x0
%define O_NONBLOCK 0x800
%define F_GETFL 3
%define F_SETFL 4
%define SEEK_SET 0x0
%define FD_stderr 2
%define FD_stdout 1
%define FD_stdin 0