entry main.enter; import "../../IMPORT/callsys.h"; import "../../IMPORT/proc.h"; import "../../IMPORT/callsys.lib.s"; import "../../IMPORT/string.lib.s"; import "../../IMPORT/number.lib.s"; import "../../IMPORT/io.lib.s"; public block main { data { } data code { public enter: { { const { string: asciiz "true = %d, false = %d\n"; align; } const ldiq $t0, string; } mov $t0, $a0; ldiq $t0, 1; mov $t0, $a1; ldiq $t0, 0; mov $t0, $a2; bsr IO.printf.enter; } clr $a0; bsr Sys.exit.enter; } code } block main