zephyr is an 8 bit CPU
create a program
cd zephyr
vim asm/file.asm
assemble it
make assemble FILE=file.asm
copy outputted Verilog into testbench/zephyr_tb.v
~line 44
compile and run the testbench
make
Learn more about the architecture: https://www.pserb.me/projects/zephyr
- LOAD
- STR
LOAD R0, [15]
"load into register R0 the value at memory location 15 (0xF)"
in binary, this instruction is 01 00 1111
LOAD = 01
RO = 00
[15] = 1111