Cosmos/source/Indy.IL2CPU.Assembler.X86/Divide.cs
2007-09-27 11:10:49 +00:00

20 lines
475 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86 {
/// <summary>
/// Puts the result of the divide into EAX, and the remainder in EDX
/// </summary>
[OpCode(0xFFFFFFFF, "div")]
public class Divide: Instruction {
private string mSource;
public Divide(string aSource) {
mSource = aSource;
}
public override string ToString() {
return "div " + mSource;
}
}
}