From ed0eafadf45e971c0802f966a60fbd9bba093b4b Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Tue, 29 Apr 2014 20:15:05 -0700 Subject: [PATCH] Update README.md --- PLASMA/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLASMA/README.md b/PLASMA/README.md index ad85d25f..fc8f7252 100644 --- a/PLASMA/README.md +++ b/PLASMA/README.md @@ -350,7 +350,7 @@ memset(val16, addr, len) will fill memory with a 16 bit value. memcpy(srcaddr, memcpy(strptr + ofst + 1, scrnptr, numchars) ``` -###Implementation Details +##Implementation Details The original design concept was to create an efficient, flexible, and expressive environment for building applications directly on the Apple II. Choosing a stack based architecture was easy after much experience with other stack based implementations. It also makes the compiler simple to implement. The first take on the stack architecture was to make it a very strict stack architecture in that everything had to be on the stack. The only opcode with operands was the CONSTANT opcode. This allowed for a very small bytecode interpreter and a very easy compile target. However, only when adding an opcode with operands that would greatly improved performance, native code generation or code size was it done. The opcode table grew slowly over time but still retains a small runtime interpreter with good native code density.