summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-06-11 19:43:24 -0400
committerTest_User <hax@andrewyu.org>2023-06-11 19:43:24 -0400
commit0f59e6543707830d06a94ac8a9ad6b795530cfb9 (patch)
treee53e23ccdf2424b4bb32928b5440100b10718ad4
parent0532ef26472261178d87f188f1264a3697a49dac (diff)
downloadspecification-0f59e6543707830d06a94ac8a9ad6b795530cfb9.tar.gz
specification-0f59e6543707830d06a94ac8a9ad6b795530cfb9.zip
Explicitly define some more stuff
-rw-r--r--cpu/instructions/overview.txt2
-rw-r--r--cpu/instructions/parameter.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpu/instructions/overview.txt b/cpu/instructions/overview.txt
index 205f382..934aa62 100644
--- a/cpu/instructions/overview.txt
+++ b/cpu/instructions/overview.txt
@@ -34,6 +34,6 @@ Dynamic VLIW
where to save them
bitwise offset in the destination
- A minimum of <n> instructions must be accepted by all CPUs
+ A minimum of <n> instructions per queue must be accepted by all CPUs
TODO: define n
Specific implementations may accept more, up to the maximum specifiable by the format
diff --git a/cpu/instructions/parameter.txt b/cpu/instructions/parameter.txt
index c68edd1..47cf30a 100644
--- a/cpu/instructions/parameter.txt
+++ b/cpu/instructions/parameter.txt
@@ -1,5 +1,6 @@
n: min number of bits to be able to represent all types
-TODO: define x
+y: min size required to represent each power of two value less than or equal to the current mode (in bytes, and greater than or equal to 1)
+x: y + [min size to represent each valid offset into the immediate value array]
Binary format:
type[n], data[x]
@@ -10,7 +11,6 @@ Types:
Value is placed directly in the data section
Immediate reference:
- y: min size required to represent each power of two value less than or equal to the current mode (in bytes, and greater than or equal to 1)
data[0 to x-y-1]:
size of immediate value