Method: Lignite::Ev3Ops#rl32
- Defined in:
- lib/lignite/ev3_ops.rb
#rl32(source1, source2, destination) ⇒ Object
Rotate left 32 bit value DESTINATION = SOURCE1 << SOURCE2
851 852 853 854 855 856 857 858 859 860 861 862 863 |
# File 'lib/lignite/ev3_ops.rb', line 851 def rl32(source1, source2, destination) logger.debug do args = [source1, source2, destination] "called rl32 with #{args.inspect}" end bytes = u8(0x2E) bytes += param_simple(source1) bytes += param_simple(source2) bytes += param_simple(destination) logger.debug "returning bytecode: #{bytes.inspect}" bytes end |