Hello I'm trying to use my microcontroler- system with the Keil-Software. The sytem have got the following prefereces: - SAB 80c535 - 32k RAM - 32k ROM -Memory-architekture: (external memory)
CODE XDATA -------- --------- FFFFh | | | | | RAM | | RAM | | 32kb | | 32kb | | | | | -------- --------- 8000h | | | | 7FFFh | ROM | | | | 32kb | --------- | | | LCD | 0001h | | | | -------- --------- 0000h
Nice memory layout illustration! I've made a modification
CODE XDATA ---------------------- FFFFh | | | RAM | Access using PSEN or RD to read | 32kb | Access using WR to write | | ---------------------- 8000h | | | | 7FFFh | ROM | | | | 32kb | --------- | | | LCD | 0001h | | | | -------- --------- 0000h
INT_ADR_OFF EQU 8000H ; INTERRUPT VECTOR OFFSET IF MONITOR ; IS INSTALLED AT ADDRESS 0000H DEF_PC_VAL EQU 8000H ; DEFAULT PC VALUE AFTER START UP
INSTALL ?? FF 00
$=0x8000