Skip to content

Beta

Latest
Compare
Choose a tag to compare
@a4004 a4004 released this 06 Nov 13:00
· 4 commits to master since this release
dc98ecb

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