projects
/
emu8051.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error with CJNE instruction
[emu8051.git]
/
src
/
memory.h
diff --git
a/src/memory.h
b/src/memory.h
index
9b8fa04
..
bd3420e
100644
(file)
--- a/
src/memory.h
+++ b/
src/memory.h
@@
-22,23
+22,21
@@
#ifndef MEMORY_H
#define MEMORY_H 1
#ifndef MEMORY_H
#define MEMORY_H 1
-
#include <sys/types.h>
#include <sys/types.h>
-
enum {
enum {
- SFR_MEM_ID,
PGM_MEM_ID,
INT_MEM_ID,
EXT_MEM_ID
};
PGM_MEM_ID,
INT_MEM_ID,
EXT_MEM_ID
};
-
void
void
-memory_write8(
int memory_id, unsigned long address, u_int8_t value
);
+memory_write8(
int memory_id, unsigned long address, u_int8_t value
);
u_int8_t
u_int8_t
-memory_read8(
int memory_id, unsigned long address
);
+memory_read8(
int memory_id, unsigned long address
);
+void
+DumpMem(char *Address, char *Asize, int memory_id);
#endif /* MEMORY_H */
#endif /* MEMORY_H */