This is a very watered-down implementation of the cat unix command, implemented in NASM assembly for x86-32bit operating systems
$ ./cats cats.txt
_
\`\
/./././. | |
/ `/. | |
/ __ `/'/'
/\__/\ /' `\ /
| oo | `.,.|
\vvvv/ ||||
|||| ||||
|||| ||||
`'`' `'`'
You'll need nasm and ld.
make should work fine if you're on a linux amd64 device, or else you'll have to cross compile 🤷
- Clone this repo:
git clone https://github.com/jaqarrick/cats.git cd cats- run
make - run
./cats cats.txt
I built this while learning about x86 system calls with NASM 32b assembly. Read my blog.