hence/hence
Dominic Grimm fcc8379cc3
Update
2023-04-04 14:07:21 +02:00
..
lib Update WIP with jump table for words and conditions 2023-04-02 12:39:35 +02:00
src Update 2023-04-04 14:07:21 +02:00
Cargo.toml Add language support and massively update Forth compiler 2023-04-01 19:20:32 +02:00
README.md Update README 2022-09-11 16:41:25 +02:00

README.md

hence

Registers

Name Description Size
pc Program counter
opc

Opcodes

Index Name Description Arguments
0x00 nop No operation
0x01 push Push to stack
0x02 pop Pops top of stack
0x03 ts Store value into tmp
0x04 tsr Store register's value into tmp
0x05 tss Stores top of stack into tmp
0x06 tlr Load tmp's value into register
0x07 tlrc Same as tlr but only executes if register a's first bit is 1
0x08 tls Push value of tmp to stack
0x09 dbg Debug
0x0a alu Runs ALU with tmp's value as operator
0x0b get Sets tmp to memory at address in tmp
0x0c set Sets memory to value at specific address