From a454890daca493e1e6cd3342ac9483b02e5f715a Mon Sep 17 00:00:00 2001 From: Joscha Date: Thu, 7 Nov 2019 07:19:39 +0000 Subject: [PATCH] Clarify opcodes and fix table --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4965946..a3d50fa 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,9 @@ Small opcodes can range from `0` to `E` and have an address or 20-bit value as argument. Large opcodes can range from `F0` to `FF` and have, if at all, a 16-bit value as argument. +For large opcodes without an argument, the 16 value bits are +ignored. They don't have to be set to 0. + ### Registers | Name | Size (bits) | Function | @@ -113,8 +116,8 @@ with zeroes, like so: The registers and memory are stored as follows: -| Word | Content | -|---------------+-------------| +| Word | Content | +|--------------:|-------------| | 0 | `IR` | | 1 | `ACC` | | 2 | `RA` |