mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 05:18:38 +00:00
16 lines
No EOL
398 B
C#
16 lines
No EOL
398 B
C#
using System;
|
|
|
|
using CPUx86 = Indy.IL2CPU.Assembler.X86;
|
|
|
|
namespace Indy.IL2CPU.IL.X86 {
|
|
[OpCode(OpCodeEnum.Ldind_I)]
|
|
public class Ldind_I: Op {
|
|
public Ldind_I(ILReader aReader, MethodInformation aMethodInfo)
|
|
: base(aReader, aMethodInfo) {
|
|
}
|
|
public override void DoAssemble() {
|
|
new CPUx86.Pop(CPUx86.Registers.EAX);
|
|
new CPUx86.Pushd(CPUx86.Registers.AtEAX);
|
|
}
|
|
}
|
|
} |