mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-31 21:30:19 +00:00
14 lines
No EOL
406 B
C#
14 lines
No EOL
406 B
C#
using System;
|
|
using System.Linq;
|
|
|
|
namespace Indy.IL2CPU.Assembler.X86 {
|
|
[OpCode(0xFFFFFFFF, "pop")]
|
|
public class Pop: InstructionWithDestinationAndSize {
|
|
public override string ToString() {
|
|
if (Size > 0) {
|
|
return "pop " + SizeToString(Size) + " " + GetDestinationAsString();
|
|
}
|
|
return "pop dword " + GetDestinationAsString();
|
|
}
|
|
}
|
|
} |