/simple_machine

A simulated computer system consisting of a CPU and memory capable of executing assembly codes with a simplified instruction set

Primary LanguageC++GNU Affero General Public License v3.0AGPL-3.0

Simple Machine (Multiple Processes and IPC)

Summary

  • Implemented a command-line program executing assembly codes with a simplified instruction set
  • Utilized two forked processes to simulate a simple computer system consisting of a CPU and memory
  • Applied a Unix pipeline to communicate between the CPU and memory
  • Implemented a simplified instruction set to exhibit important low-level behaviors of an operating system, including:
    1. Processor interaction with main memory
    2. Processor instruction behavior
    3. Role of registers
    4. Stack processing
    5. Procedure calls
    6. System calls
    7. Interrupt handling
    8. Memory protection

Project Information