C# Class Mosa.Platform.ARMv6.ARMv6Instruction

Inheritance: Mosa.Compiler.Framework.BaseInstruction
ファイルを表示 Open project: tgiphil/MOSA-Project

Public Methods

Method Description
Emit ( InstructionNode node, BaseCodeEmitter emitter ) : void

Emits the specified platform instruction.

Protected Methods

Method Description
ARMv6Instruction ( byte resultCount, byte operandCount ) : Mosa.Compiler.Common

Initializes a new instance of the ARMv6Instruction class.

ComputeOpCode ( Operand destination, Operand source, Operand third ) : uint

Computes the opcode.

Emit ( InstructionNode node, MachineCodeEmitter emitter ) : void

Emits the specified platform instruction.

EmitDataProcessingInstruction ( InstructionNode node, MachineCodeEmitter emitter, byte opcode ) : void

Emits the data processing instruction.

EmitMemoryLoadStore ( InstructionNode node, MachineCodeEmitter emitter, TransferType transferType ) : void
EmitMultiplyInstruction ( InstructionNode node, MachineCodeEmitter emitter ) : void

Emits the multiply instruction.

Method Details

ARMv6Instruction() protected method

Initializes a new instance of the ARMv6Instruction class.
protected ARMv6Instruction ( byte resultCount, byte operandCount ) : Mosa.Compiler.Common
resultCount byte The result count.
operandCount byte The operand count.
return Mosa.Compiler.Common

ComputeOpCode() protected method

Computes the opcode.
protected ComputeOpCode ( Operand destination, Operand source, Operand third ) : uint
destination Mosa.Compiler.Framework.Operand The destination operand.
source Mosa.Compiler.Framework.Operand The source operand.
third Mosa.Compiler.Framework.Operand The third operand.
return uint

Emit() public method

Emits the specified platform instruction.
public Emit ( InstructionNode node, BaseCodeEmitter emitter ) : void
node Mosa.Compiler.Framework.InstructionNode The node.
emitter Mosa.Compiler.Framework.BaseCodeEmitter The emitter.
return void

Emit() protected method

Emits the specified platform instruction.
protected Emit ( InstructionNode node, MachineCodeEmitter emitter ) : void
node Mosa.Compiler.Framework.InstructionNode The node.
emitter MachineCodeEmitter The emitter.
return void

EmitDataProcessingInstruction() protected method

Emits the data processing instruction.
protected EmitDataProcessingInstruction ( InstructionNode node, MachineCodeEmitter emitter, byte opcode ) : void
node Mosa.Compiler.Framework.InstructionNode The node.
emitter MachineCodeEmitter The emitter.
opcode byte The opcode.
return void

EmitMemoryLoadStore() protected method

protected EmitMemoryLoadStore ( InstructionNode node, MachineCodeEmitter emitter, TransferType transferType ) : void
node Mosa.Compiler.Framework.InstructionNode
emitter MachineCodeEmitter
transferType TransferType
return void

EmitMultiplyInstruction() protected method

Emits the multiply instruction.
protected EmitMultiplyInstruction ( InstructionNode node, MachineCodeEmitter emitter ) : void
node Mosa.Compiler.Framework.InstructionNode The node.
emitter MachineCodeEmitter The emitter.
return void