summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-02 22:30:11 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-02 22:30:11 +0100
commit85bc61cb7fa8f4b9af78064cb65fbad49a109d5f (patch)
tree5116b1c423864f3cde8f1002b7a4dabb62e88fff /README
parent4e1aaf316457f4d4f045fd3ebe500cd70f6bafcc (diff)
downloadSystDigit-Projet-85bc61cb7fa8f4b9af78064cb65fbad49a109d5f.tar.gz
SystDigit-Projet-85bc61cb7fa8f4b9af78064cb65fbad49a109d5f.zip
Started CPU implementation.
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 8 insertions, 4 deletions
diff --git a/README b/README
index 5475dbe..7523ba5 100644
--- a/README
+++ b/README
@@ -228,12 +228,16 @@ decode7_128, and use the ROM data from the file specified on the command line.
The format of a ROM file is as follows :
-<address width> <word size>
+<number of words defined> <word size>
<data>
-The data is composed of 2^(address width) values separated by spaces. If they
-have no prefix, they are read as binary. If they have a / prefix, they are read
-as decimal (this enables the use of whichever representation is preferred).
+The data is composed of n values separated by spaces. If they have no prefix,
+they are read as binary. If they have a / prefix, they are read as decimal. If
+they have a x prefix, they are read as hexadecimal (this enables the use of
+whichever representation is preferred).
+
+When the ROM is used, all the extra words (those needed by the simulator but
+not defined in the ROM file) will be considered zeroes.