Skip to content

Releases: a4004/v4004cpu

Beta

06 Nov 13:00
dc98ecb
Compare
Choose a tag to compare

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

03 Nov 21:02
ad0c5c6
Compare
Choose a tag to compare
Demo Pre-release
Pre-release

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