Skip to content
/ wcarm64 Public

A simplistic wc clone in ARM64 assembly

License

Notifications You must be signed in to change notification settings

neoeno/wcarm64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wcarm64

A port of wcx64 to Apple Silicon.

wcarm64 is a simplistic wc clone in ARM64/AArch64/Apple Silicon assembly. Usage:

    $ wcarm64 /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:

    $ wcarm64 < /tmp/2
              2          5         23

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

About

A simplistic wc clone in ARM64 assembly

Resources

License

Stars

Watchers

Forks