ad530224 ^
2998866b ^
44d26b77 ^
354c72a6 ^
64a1c141 ^
7bf8adb8 ^
1
2 3
4
5
6 7
8
9
10 11 12
# Demo of floating-point support. # # To build a disk image: # ./translate apps/ex8.mu # emits code.img # To run: # qemu-system-i386 code.img # You shouldn't see any exceptions. fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) { var n/eax: int <- copy 0 var result/xmm0: float <- convert n }