# 12345678 12345678 # s # eeeeee # p pppppppp 32.times do |i| bits = i.to_s(2).rjust(4, "0") puts "imm s\"0b0100000#{bits}1000\" $nowrite" puts "noforward; hvaddr $aluf $aluf $s#{i}v" puts "hvmulr $aluf $aluf $r#{i}v" end puts "d geth $s0n0c0b0m0p0 32" puts "d geth $r0n0c0b0m0p0 32" s = <