Add: generate file on make

This commit is contained in:
brice.boisson
2023-11-21 18:45:25 +09:00
parent 7d60960831
commit e2ca11548c
5 changed files with 12 additions and 10 deletions

View File

@@ -1,11 +1,10 @@
# t0 = 0
li t0, 0
li t2, 10 # R[2]=10, MEM[1]=6
li t0, 0 # R[5]=0
li t2, 10 # R[7]=10
loop_head:
bge t0, t2, loop_end
# Repeated code goes here
addi t0, t0, 1 # PC=16
j loop_head
loop_end:
# R[0]=0