mirror of
https://github.com/AssetRipper/Capstone.NET.git
synced 2026-11-13 18:06:54 -10:00
29 lines
692 B
C#
29 lines
692 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Gee.External.Capstone.XCore {
|
|
/// <summary>
|
|
/// Native XCore Memory Operand Value.
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal struct NativeXCoreMemoryOperandValue {
|
|
/// <summary>
|
|
/// Base Register.
|
|
/// </summary>
|
|
public byte Base;
|
|
|
|
/// <summary>
|
|
/// Index Register.
|
|
/// </summary>
|
|
public byte Index;
|
|
|
|
/// <summary>
|
|
/// Displacement Value.
|
|
/// </summary>
|
|
public int Displacement;
|
|
|
|
/// <summary>
|
|
/// Direct Value.
|
|
/// </summary>
|
|
public int Direct;
|
|
}
|
|
} |