2025-10-29 20:19:39 +01:00
2025-10-29 20:19:39 +01:00
2025-10-28 19:33:53 +01:00
2025-10-28 19:33:53 +01:00
2025-10-29 18:18:07 +01:00
2025-10-28 19:29:49 +01:00
2025-10-29 20:19:39 +01:00

forge

A flash emulator with my own stuff

Opcodes

OP INST Action
0x01 HLT Stops further emulation of the program
0x02 REG (r), (n) Sets a registry to a number
0x03 ADD (r), (r), (r) Adds
0x04 SUB (r), (r), (r) Subtracts
0x05 MUL (r), (r), (r) Multiplies
0x06 DIV (r), (r), (r) Divides
0x07 LABEL (s) Creates a label
0x08 JMP (s) Jumps into a label
0x09 RA Registry
0x0A RB Registry
0x0B RC Registry
0x0C RD Registry
0x0D \n Goes to the next instruction
S
Description
A flash emulator with my own stuff
Readme Apache-2.0
51 KiB
Languages
Rust 100%