Sha256: 2f66962490d184397544bdeab70ddf2f95b4030b1847661af7c971b6d2301f75

Contents?: true

Size: 221 Bytes

Versions: 1

Compression:

Stored size: 221 Bytes

Contents

# frozen_string_literal: true

module Tataru
  module Instructions
    # sets a key
    class KeyInstruction < ImmediateModeInstruction
      def run
        memory.hash[:temp][:_key] = @param
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tataru-0.2.0 lib/tataru/instructions/key_instruction.rb