summaryrefslogtreecommitdiff
path: root/src/arm32/register
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm32/register')
-rw-r--r--src/arm32/register/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arm32/register/mod.rs b/src/arm32/register/mod.rs
index bd8ba0d..366ab16 100644
--- a/src/arm32/register/mod.rs
+++ b/src/arm32/register/mod.rs
@@ -21,6 +21,10 @@
use core::fmt::Display;
+/// An Arm register.
+///
+/// Registers are number `R<N>`, where *N* denotes a decimal number from (0) to (15).
+/// Some registers have aliases, such as `r15|pc`.
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
#[repr(u8)]
pub enum Register {