blob: b28e5155bf9a3969f13c3202df605ac5920a4cce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# n = 6909045637428952499
# bin = n.to_s(2).rjust(64, '0')
# ds = bin.each_char.each_slice(8).map(&:join)
#
# puts n
# 8.times { |i| puts "[#{i}] = #{ds[i]}" }
# puts
# 8.times { |i| puts "[#{i}] = #{ds[8-i-1]}" }
# puts
# puts
imm s"8" $nowrite
sbsl $lm0v $aluf $lr0v
imm i"16" $nowrite
ibsl $r0v $aluf $n[1,0,2,3]
|