Releases: a4004/v4004cpu
Releases · a4004/v4004cpu
Beta
Assembler
Usage: vassemble.exe
<input file>
<output file>
Both parameters are required. Conventional file extensions are
.vasm
for assembly source and.v4004
for executable binary code.
Example:
> vassemble.exe hello_world.vasm hello_world.v4004
Emulator
Usage: vexec.exe
<binary file>
<optional: clock speed in Hz>
<optional: maximum cycles>
Default clock speed is 4.096 kHz (4096 Hz) and the maximum number of cycles is 2147483647 (max Int32 limit).
Example:
> vexec.exe hello_world.v4004
Example running at 5 Hz for 5000 ticks:
> vexec.exe hello_world.v4004 5 5000
Demo
Usage: vexec.exe
<binary file>
<optional: clock speed in Hz>
<optional: maximum cycles>
Default clock speed is 1 kHz (1000 Hz) and the maximum number of cycles is -1 (No limit)
Example:
> vexec.exe example_hello_world.v4004
Example running at 5 Hz for 5000 ticks:
> vexec.exe example_hello_world.v4004 5 5000