#ifndef _asmutil_h_ #define _asmutil_h_ #include #include #include "global.h" extern void writeFarWord( unsigned int seg, unsigned int address, unsigned int val ); extern void writeFarByte( unsigned int seg, unsigned int address, unsigned char val ); extern void reset_to_rom(void); extern void reset_to_ram(void); #define ROMPROG_VARS MARRAY(unsigned char,ADDRSEGMENT0) #define RAMPROG_VARS MARRAY(unsigned char,ADDRSEGMENT4) #define ROMSEG0_VARS MARRAY(unsigned char,ADDRSEGMENT0) #define ROMSEG1_VARS MARRAY(unsigned char,ADDRSEGMENT1) #define ROMSEG2_VARS MARRAY(unsigned char,ADDRSEGMENT2) #define ROMSEG3_VARS MARRAY(unsigned char,ADDRSEGMENT3) #define RAMSEG0_VARS MARRAY(unsigned char,ADDRSEGMENT4) #define RAMSEG1_VARS MARRAY(unsigned char,ADDRSEGMENT5) #define RAMSEG2_VARS MARRAY(unsigned char,ADDRSEGMENT6) #define RAMSEG3_VARS MARRAY(unsigned char,ADDRSEGMENT7) #endif