From 2fcb8120b4cc7c35af6ee17e89ef6a51c242beaf Mon Sep 17 00:00:00 2001 From: TollyH Date: Tue, 28 May 2024 01:02:14 +0100 Subject: [PATCH] Reword constant displacement encoding explanation --- Documentation/ReferenceManual/ReferenceManual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ReferenceManual/ReferenceManual.md b/Documentation/ReferenceManual/ReferenceManual.md index a812b89..ef9f848 100644 --- a/Documentation/ReferenceManual/ReferenceManual.md +++ b/Documentation/ReferenceManual/ReferenceManual.md @@ -414,7 +414,7 @@ Read Sizes If the pointer has no displacement component, then the pointer encoding stops after the first byte. Otherwise, the remaining bytes encode the pointer's displacement component. -Constant displacements are encoded as a single 8 byte (64 bit), two's complement, little endian, signed integer number (signed numbers and little endian are explained in later sections). +Constant displacements are encoded as a single 8 byte (64 bit), little endian, two's complement signed integer number (signed numbers and little endian are explained in later sections). Register displacements are encoded as a single byte with the register itself in the lower 4 bits, the multiplier in the next 3 bits, and a subtraction flag in the highest bit, like so: