Matteo Savatteri 51e2c5a7bb Make ld strip binaries 3 years ago
..
src 60bfeb3db3 Add `argc` program 3 years ago
Makefile 51e2c5a7bb Make ld strip binaries 3 years ago
README.md c18cf61241 Add ".md" suffix to READMEs 3 years ago

README.md

argc

Print argument count to stdout.

Description

The program argc reads its cmd line argument count from the stack and print it to standard output by mean of sys_write. Putting more than 8 arguments result in an unexpected behaviour.

Usage

$ argc [ARG1]...[ARG8]

Comment

Here I try to access the stack for the first time :)