Refactor memory window code section
[emu8051.git] / src / memory.h
index bd3420e..4166da9 100644 (file)
 
 #include <sys/types.h>
 
+#define PGM_MEM_SIZE 65536
+#define INT_MEM_SIZE 256 /* IRAM = Direct addresses $00 to $7F
+                         * SFR  = Direct addresses $80 to $FF */
+#define EXT_MEM_SIZE 65536
+
 enum {
   PGM_MEM_ID,
   INT_MEM_ID,