This page has the source code and makefile for a small x86_64 program to compute
the Euclidean algorithm.
All in one tar file: gcd-x86.tar
- Makefile
- wrapper.yasm (the driver for the other bits)
- gcd.yasm (the GCD code)
- getnum.yasm (some utility code to convert a string of digits into a number (limited to non-negative 64 bit))
- putnum.yasm (some utility code to output a number to stdout (limited to non-negative 64 bits))