Blame view

registers.h 321 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
3
4
//
// Created by imanol on 12/25/16.
//
5
6
#include <stdint.h>
Imanol-Mikel Barba Sabariego authored
7
8
9
#ifndef SYNACORVM_REGISTERS_H
#define SYNACORVM_REGISTERS_H
10
#define NUM_REGISTERS 8
Imanol-Mikel Barba Sabariego authored
11
12
13
14
15
16
17
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);
Imanol-Mikel Barba Sabariego authored
18
19

#endif //SYNACORVM_REGISTERS_H