import strutil
func halt =
asm "wfi"
proc panic*(str: string) =
halt()
proc rawoutput*(str: string) =
printTxt(cast[seq[char]](str))