class <%=@instname%> < Instruction include RotateInstruction def initialize(context) super(context, :<%=@type%>) end end