11 lines
148 B
Nim
11 lines
148 B
Nim
|
import strutil
|
||
|
|
||
|
func halt =
|
||
|
asm "wfi"
|
||
|
|
||
|
proc panic*(str: string) =
|
||
|
halt()
|
||
|
|
||
|
proc rawoutput*(str: string) =
|
||
|
printTxt(cast[seq[char]](str))
|