Skip to content
Snippets Groups Projects
Commit e56b2aee authored by rtoy's avatar rtoy
Browse files

The array header length slot is array rank + 6, not 5.

parent 89ba72ac
No related branches found
No related tags found
No related merge requests found
...@@ -356,7 +356,7 @@ type tag, but nil points four additional bytes into its symbol data-block. ...@@ -356,7 +356,7 @@ type tag, but nil points four additional bytes into its symbol data-block.
The array-header data-block has the following format: The array-header data-block has the following format:
\begin{verbatim} \begin{verbatim}
---------------------------------------------------------------- ----------------------------------------------------------------
| Header Len (24 bits) = Array Rank +5 | Array Type (8 bits) | | Header Len (24 bits) = Array Rank +6 | Array Type (8 bits) |
---------------------------------------------------------------- ----------------------------------------------------------------
| Fill Pointer (30 bits) | 0 0 | | Fill Pointer (30 bits) | 0 0 |
---------------------------------------------------------------- ----------------------------------------------------------------
...@@ -381,7 +381,7 @@ The array type in the header-word is one of the eight-bit patterns from ...@@ -381,7 +381,7 @@ The array type in the header-word is one of the eight-bit patterns from
``Data-Blocks and Other-immediates Typing'', section~\ref{sec:data-blocks-and-header}, indicating that this is a complex ``Data-Blocks and Other-immediates Typing'', section~\ref{sec:data-blocks-and-header}, indicating that this is a complex
string, complex vector, complex bit-vector, or a multi-dimensional array. The string, complex vector, complex bit-vector, or a multi-dimensional array. The
data portion of the other-immediate word is the length of the array header data portion of the other-immediate word is the length of the array header
data-block. Due to its format, its length is always five greater than the data-block. Due to its format, its length is always six greater than the
array's number of dimensions. The following words have the following array's number of dimensions. The following words have the following
interpretations and types: interpretations and types:
\begin{description} \begin{description}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment