Started on arduino version

This commit is contained in:
2018-10-21 13:47:48 +01:00
parent af0d1b0cd0
commit 6abacd4c1d
6 changed files with 551 additions and 2 deletions

4
vm.h
View File

@@ -20,8 +20,8 @@ limitations under the License.
#include <stdint.h>
#include <stdbool.h>
#define VM_MEM_SIZE (1<<8)-1
#define VM_REG_SIZE 15
#define VM_MEM_SIZE 256
#define VM_REG_SIZE 16
#define OP_HLT 0x0
#define OP_LDA 0x1