Skip to content

Commit

Permalink
stdint.h 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
limdongjin committed May 2, 2019
1 parent 1588cbf commit 21379be
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <stdlib.h>
#include <stdbool.h>

#include <stdint.h>
#include "memory.h"
#include "symbol.h"
#include "opcode.h"
Expand All @@ -12,14 +12,14 @@
#define MAX_BP_NUM (1024 * 1024) // 1MB

typedef struct registers {
unsigned int A;
unsigned int L;
unsigned int X;
unsigned int PC;
unsigned int B;
unsigned int S;
unsigned int T;
unsigned int SW;
uint32_t A;
uint32_t L;
uint32_t X;
uint32_t PC;
uint32_t B;
uint32_t S;
uint32_t T;
uint32_t SW;
}Registers;

enum load_info_type {
Expand Down

0 comments on commit 21379be

Please sign in to comment.