1
Files
systemverilog-rom-assembler/programs/input_output.lasm8_v1

5 lines
102 B
Plaintext

# Add 10 to the input number, then output the result
MOV input, reg1
MOV 10, reg2
ADD
MOV reg3, output