mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 14:02:19 +00:00
[*] Fixed comment on JumpIfAbove [+] JumpIfAboveOrEqual to handle jae [*] Fixed comment on JumpOnGreater
24 lines
No EOL
492 B
C#
24 lines
No EOL
492 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Indy.IL2CPU.Assembler.X86
|
|
{
|
|
[OpCode(0xFFFFFFFF, "ja")]
|
|
public class JumpIfAbove : JumpBase
|
|
{
|
|
/// <summary>
|
|
/// <para>after CMP DEST, SOURCE</para>
|
|
/// <para>if (DEST > SOURCE) jump (unsigned)</para>
|
|
/// </summary>
|
|
public JumpIfAbove(string aAddress)
|
|
: base(aAddress)
|
|
{
|
|
}
|
|
public override string ToString()
|
|
{
|
|
return "ja " + Address;
|
|
}
|
|
}
|
|
} |