aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLoic GUEGAN <loic.guegan@yahoo.fr>2018-08-31 20:10:48 +0200
committerLoic GUEGAN <loic.guegan@yahoo.fr>2018-08-31 20:10:48 +0200
commitea840b6615777ddf1da47969be619be4c823207e (patch)
tree6a41bc6d7c5ca4ce22e66265413abd29acc634c1 /README.md
parente0f3b5f3942f3cfcbce1e66583c226b9e2ef800e (diff)
Update readme
Diffstat (limited to 'README.md')
-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