This commit is contained in:
NikolajDanger
2022-06-01 15:53:24 +02:00
parent bb45db22e0
commit e46e002e9f
18 changed files with 165 additions and 252 deletions

View File

@ -35,40 +35,33 @@ main:
addi $29, $29, -12
ori $3, $0, 0
# was: ori _tmp_4_, $0, 0
beq $3, $16, _false_5_
# was: beq _tmp_4_, 0, _false_5_
jal no_way
# was: jal no_way,
ori $3, $2, 0
# was: ori _tmp_4_, $2, 0
_false_5_:
# ori _letBind_3_,_tmp_4_,0
la $2, _true
# was: la $2, _true
bne $3, $0, _wBoolF_6_
# was: bne _letBind_3_, $0, _wBoolF_6_
bne $3, $0, _wBoolF_5_
# was: bne _letBind_3_, $0, _wBoolF_5_
la $2, _false
# was: la $2, _false
_wBoolF_6_:
_wBoolF_5_:
jal putstring
# was: jal putstring, $2
ori $3, $0, 1
# was: ori _tmp_8_, $0, 1
bne $3, $16, _true_9_
# was: bne _tmp_8_, 0, _true_9_
# was: ori _tmp_7_, $0, 1
bne $3, $16, _true_8_
# was: bne _tmp_7_, 0, _true_8_
jal no_way
# was: jal no_way,
ori $3, $2, 0
# was: ori _tmp_8_, $2, 0
_true_9_:
# ori _letBind_7_,_tmp_8_,0
# was: ori _tmp_7_, $2, 0
_true_8_:
# ori _letBind_6_,_tmp_7_,0
la $2, _true
# was: la $2, _true
bne $3, $0, _wBoolF_10_
# was: bne _letBind_7_, $0, _wBoolF_10_
bne $3, $0, _wBoolF_9_
# was: bne _letBind_6_, $0, _wBoolF_9_
la $2, _false
# was: la $2, _false
_wBoolF_10_:
_wBoolF_9_:
jal putstring
# was: jal putstring, $2
ori $2, $0, 1