eliben/wcx64

Clone of wc in x64 assembly

Assembly

95

22 commits

updated May 4, 2024

See the code

README

wcx64

wcx64 is a simplistic wc clone in x64 assembly. Usage:

    $ wcx64 /tmp/1 /tmp/2 /usr/share/dict/words
              0          1          2    /tmp/1
              2          5         23    /tmp/2
          99171      99171     938848    /usr/share/dict/words
          99173      99177     938873    total

When not given any command-line arguments, reads from stdin:

    $ wcx64 < /tmp/2
              2          5         23

Always prints the all three counters: line, word, byte.

Contributors

eliben

22 commits

eliben/wcx64

Clone of wc in x64 assembly

Assembly

95

22 commits

updated May 4, 2024

See the code

README

wcx64

wcx64 is a simplistic wc clone in x64 assembly. Usage:

    $ wcx64 /tmp/1 /tmp/2 /usr/share/dict/words
              0          1          2    /tmp/1
              2          5         23    /tmp/2
          99171      99171     938848    /usr/share/dict/words
          99173      99177     938873    total

When not given any command-line arguments, reads from stdin:

    $ wcx64 < /tmp/2
              2          5         23

Always prints the all three counters: line, word, byte.

Contributors

eliben

22 commits

Languages

Assembly

98.4%

Makefile

1.6%