This project is designed for the pseudocomputer AHMES, a creation of academic teachers from the Universidade do Rio Grande do Sul (UFRGS), namely Raul Fernando Weber (in memoriam) and Taisy Silva Weber. The purpose of this project is to calculate the Maximum Common Divisor (MCD) between two numbers.
The primary goal of this code is to compute the MCD of two given numbers. This is an example of very low-level programming.
- Download AHMES from here.
- Import the provided code.
- Input the first number (A) into data space 254.
- Input the second number (B) into data space 255.
- Execute the program.
- The result will be displayed in the Accumulator.