Compare commits

..

2 Commits

Author SHA1 Message Date
Zander671 6c6bed6c7e Initial commit 2022-10-04 04:09:45 -07:00
Zander671 a8bf8841c2 Initial commit 2022-08-28 14:29:25 -07:00
3 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
cat: cat.o
ld -o cat cat.o
cat.o: cat.nasm
nasm -f elf64 cat.nasm
cat.o: cat.s
nasm -g -f elf64 cat.s
.PHONY: clean
clean:
+1 -3
View File
@@ -1,5 +1,3 @@
# cat
[![Build Status](https://ci.zander.im/job/asm-cat/badge/icon?style=flat&subject=Build)](https://ci.zander.im/job/asm-cat/)
Posix compliant cat written in NASM Assembler for practice. This program
**ONLY** works on Linux.
Posix compliant cat written in NASM Assembler for practice.
+1 -1
View File
@@ -1,4 +1,4 @@
;; -*- mode: asm; -*-
;; -*- mode: nasm -*-
%define SYS_open 0x2
%define SYS_close 0x3
%define SYS_write 0x1