CPUSim64 is a Java-based emulator of a simple 64-bit CPU, created to make learning assembly language and computer architecture approachable and fun. It abstracts away the quirks of complex modern ISAs like Intel/AMD64 and ARM, allowing you to focus on core programming concepts in a safe, sandboxed environment.
Written in Java, CPUSim64 runs on any system with Java 17 or later installed. It includes command-line scripts to make common tasks—such as assembling source code, disassembling object files, tracing program execution, and running binaries—straightforward and efficient. A good text or code editor is recommended for writing your CPUSim64 programs.
With CPUSim64 you can:
To get started, the CPUSim64 distribution (CPUSim64V2.zip) includes comprehensive documentation and sample code that guide you through the architecture, instruction set, and programming model:
You can download the latest CPUSim64 source or submit bugs on GitHub