Beispiel #1
0
 public void Render(MachineInstructionRenderer renderer, MachineInstructionRendererOptions options)
 {
     renderer.BeginOperand();
     DoRender(renderer, options);
     renderer.EndOperand();
 }
Beispiel #2
0
 protected abstract void DoRender(MachineInstructionRenderer renderer, MachineInstructionRendererOptions options);
Beispiel #3
0
 protected override void DoRender(MachineInstructionRenderer renderer, MachineInstructionRendererOptions options)
 {
     renderer.WriteString("st(" + fpuReg + ")");
 }
Beispiel #4
0
 protected override void DoRender(MachineInstructionRenderer renderer, MachineInstructionRendererOptions options)
 {
     renderer.WriteAddress(Address.ToString(), Address);
 }
Beispiel #5
0
 protected virtual void DoRender(MachineInstructionRenderer renderer, MachineInstructionRendererOptions options)
 {
 }
Beispiel #6
0
 /// <summary>
 /// Renders this instruction to the provided <see cref="MachineInstructionRenderer"/>.
 /// </summary>
 /// <param name="renderer"></param>
 /// <param name="options"></param>
 public void Render(MachineInstructionRenderer renderer, MachineInstructionRendererOptions options)
 {
     renderer.BeginInstruction(Address);
     DoRender(renderer, options);
     renderer.EndInstruction();
 }
Beispiel #7
0
 protected virtual void RenderOperand(MachineOperand operand, MachineInstructionRenderer renderer, MachineInstructionRendererOptions options)
 {
     operand.Render(renderer, options);
 }