// Copyright 2016 The Fuchsia Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
#pragma once | |
namespace inferior_control { | |
// The x86-64 general register names. | |
enum class Amd64Register { | |
RAX = 0, | |
RBX, | |
RCX, | |
RDX, | |
RSI, | |
RDI, | |
RBP, | |
RSP, | |
R8, | |
R9, | |
R10, | |
R11, | |
R12, | |
R13, | |
R14, | |
R15, | |
RIP, | |
EFLAGS, | |
NUM_REGISTERS | |
}; | |
} // namespace inferior_control |