Initialer Commit

This commit is contained in:
lux
2017-08-02 20:10:36 +02:00
commit 168a8b9bcf
7 changed files with 179 additions and 0 deletions

15
src/toy.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef TOY_H
#define TOY_H
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#define RAM_SIZE 4096
#define CPU_WORD_SIZE 16
int initialise_ram(uint16_t *ram, int argc, char **argv );
uint8_t get_opcode(uint16_t instruction);
#endif