.table
.code
mov $0, 8
main:
add $1, $0, 3
mov $2, 40.000000
println $2
println '-'
div $3, $2, 10.000000
mov $2, $3
println $2
println '-'
mov $4, 1
add $6, $4, 4
mov $5, $6
add $7, $4, 7
mov $4, $7
add $8, $5, 42
add $9, $8, 8
mov $5, $9
println $5
println $4
println '-'
mov $10, 0
and $12, $10, 1
mov $11, $12
add $14, $4, $5
inttofl $14, $14
mov $13, $14
println $13
println '-'
println 1
println 2.000000
print 't'
print 'r'
print 'u'
println 'e'
println '-'
print 'E'
print 'n'
print 't'
print 'e'
print 'r'
print ' '
print 'i'
print 'n'
print 't'
print 'e'
print 'g'
print 'e'
print 'r'
print ':'
println
scani $15
println $15
print 'E'
print 'n'
print 't'
print 'e'
print 'r'
print ' '
print 'f'
print 'l'
print 'o'
print 'a'
print 't'
print ':'
println
scanf $16
println $16
print 'E'
print 'n'
print 't'
print 'e'
print 'r'
print ' '
print 'c'
print 'h'
print 'a'
print 'r'
print ':'
println
scanc $17
println $17
