mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 14:02:19 +00:00
25 lines
No EOL
569 B
C#
25 lines
No EOL
569 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Indy.IL2CPU.Assembler.X86
|
|
{
|
|
/// <summary>
|
|
/// CMP DEST, SOURCE
|
|
/// if (DEST > SOURCE) jump (signed)
|
|
/// </summary>
|
|
#warning this instruction should be renamed to JumpIfGreater after corresponding obsolete instruction is deleted
|
|
[OpCode(0xFFFFFFFF, "jg")]
|
|
public class JumpOnGreater : JumpBase
|
|
{
|
|
public JumpOnGreater(string aAddress)
|
|
: base(aAddress)
|
|
{
|
|
}
|
|
public override string ToString()
|
|
{
|
|
return "jg " + Address;
|
|
}
|
|
}
|
|
} |