Skip to content

Instantly share code, notes, and snippets.

standard library:
Name(IR Name): chr(0chr)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: i : INT
Function Return: STRING
Value: uninit
int print1(int x):
int-list: $t0, $t1, 13x
float-list:
assign, $t0, 0,
brgeq, 13x, 10, label0
assign, $t0, 1,
label0:
breq, $t0, 0, iflabel1
iflabel0:
call, printi, 13x