Enter your assembled code here:
R0
0x00
R1
0x00
R2
0x00
R3
0x00
INP
0x00
Memory
Enter your assembly code here:
# Fib code displayed in R3 # multiple labels working :) LI R0, 0x01 ; R0 = 1 LI R1, 0x01 ; R1 = 1 MOV R3, R1 ; R3 = R1 loop: MOV R2, R0 ADD R2, R1 MOV R0, R1 MOV R1, R2 MOV R3, R2 JMP loop end: JMP end
Assemble
Copy your assembled code from here: