mirror of
https://github.com/AssetRipper/Capstone.NET.git
synced 2026-11-13 18:06:54 -10:00
27 lines
683 B
C#
27 lines
683 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Gee.External.Capstone.XCore {
|
|
/// <summary>
|
|
/// Native XCore Operand Value.
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
internal struct NativeXCoreOperandValue {
|
|
/// <summary>
|
|
/// Register Value.
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public XCoreRegisterId Register;
|
|
|
|
/// <summary>
|
|
/// Immediate Value.
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public int Immediate;
|
|
|
|
/// <summary>
|
|
/// Memory Value.
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public NativeXCoreMemoryOperandValue Memory;
|
|
}
|
|
} |