registers.h
321 Bytes
//
// Created by imanol on 12/25/16.
//
#include <stdint.h>
#ifndef SYNACORVM_REGISTERS_H
#define SYNACORVM_REGISTERS_H
#define NUM_REGISTERS 8
extern uint16_t regs[NUM_REGISTERS];
extern uint16_t pc;
void print_regs();
void dump_regs(uint16_t *dump);
void load_regs(uint16_t *dump);
#endif //SYNACORVM_REGISTERS_H