assembly_park = "A nasty experiment conducted by
@matteosavatteri not to amuse with dinosaurs, but with
x86_64 Linux assembly"

Matteo Savatteri 51e2c5a7bb Make ld strip binaries 3 years ago
1_false 51e2c5a7bb Make ld strip binaries 3 years ago
2_pwd 51e2c5a7bb Make ld strip binaries 3 years ago
3_argc 51e2c5a7bb Make ld strip binaries 3 years ago
4_unlink 51e2c5a7bb Make ld strip binaries 3 years ago
5_ls 51e2c5a7bb Make ld strip binaries 3 years ago
.gitignore 3b9eb752ea First commit 4 years ago
LICENSE 5b9b57fbed Add license 3 years ago
README.md b485bf2cfb Update README 3 years ago

README.md

Assembly Park

assembly_park = "A nasty experiment conducted by @matteosavatteri not to amuse with dinosaurs, but with x86_64 Linux assembly"

Why This?

To learn something new.

Tree

.
├── 1_false/
│   ├── Makefile
│   ├── README.md
│   └── src/
│       └── false.s
├── 2_pwd/
│   ├── Makefile
│   ├── README.md
│   └── src/
│       └── pwd.s
├── 3_argc/
│   ├── Makefile
│   ├── README.md
│   └── src/
│       └── argc.s
├── 4_unlink/
│   ├── Makefile
│   ├── README.md
│   └── src/
│       └── unlink.s
├── LICENSE
├── README.md
└── unlink.s

How do I Use This?

Assemble and Link

To assemble and link these programs you need the GNU assembler as and the gold linker ld. To automate the process you need GNU make. You can find as and ld in the GNU binutils collection (If you run GNU/Linux, you have these installed, i think...). You can find make in the make package.

make How To

  • To assemble and link a program enter the corresponding subdirectory and run make
  • To clean objects run make clean.
  • To clean binaries too run make clean-all

Run

assembly_park programs aren't linked against shared libraries. To run them you only need a x86_64 computer running the Linux kernel.

Documentation

Read README files and comments in code.

Let me know if you encounter some problems.

Enjoy :)

@matteosavatteri