A custom software implementation of a stack-based processor written in C. This project was developed as part of the Algorithms and Data Structures course to deeply understand low-level execution models and memory management.
The core objective of this project is to simulate a processor architecture that relies on a stack for its operations, specifically designed to handle and execute recursive functions. It demonstrates a fundamental understanding of how compilers and hardware manage function calls, local variables, and execution state under the hood.
- Language: C
- Build Tool: Makefile
- Stack Management: Custom implementation of stack push/pop operations.
- Recursion Handling: Mechanisms to store and retrieve execution context (simulating stack frames) to allow complex recursive algorithms to run.
- Memory Allocation: Manual memory management in C.
The project includes a Makefile for easy compilation.
make./app(Note: If the program requires specific input files, e.g., src.txt, provide them as arguments or pipe them as required by the current logic).