aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index a6384cd..83a0c65 100644
--- a/README.md
+++ b/README.md
@@ -16,4 +16,10 @@ All the architecture components are located in _components_ folder:
- **ram.py** Contains a simple RAM implementation
### How to load code in memory ?
-Simply by editing **ram.txt**. Each line corresponding to a byte entry starting from address 0x0 to whatever to $+\infty$ . Each line can be an IJVM _opcode_ or a random byte.
+Simply by editing **ram.txt**. Each line corresponding to a byte entry starting from address 0x0 to whatever to $+\infty$ . Each line can be an IJVM _opcode_ or a random byte. Here is an example of how to add two number:
+
+> BIPUSH
+> 12
+> BIPUSH
+> 5
+> IADD