mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 21:08:51 +00:00
20 lines
475 B
C#
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;
|
|
}
|
|
}
|
|
}
|