Compare commits
2 Commits
main
..
6c6bed6c7e
| Author | SHA1 | Date | |
|---|---|---|---|
|
6c6bed6c7e
|
|||
|
a8bf8841c2
|
@@ -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,5 +1,3 @@
|
||||
# cat
|
||||
[](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
@@ -1,4 +1,4 @@
|
||||
;; -*- mode: asm; -*-
|
||||
;; -*- mode: nasm -*-
|
||||
%define SYS_open 0x2
|
||||
%define SYS_close 0x3
|
||||
%define SYS_write 0x1
|
||||
Reference in New Issue
Block a user