I find ADuC7023 flash is mapped to 0x00 by default. To speed up the interrput response, I try to map SRAM to 0x00 and I merely set REMAP register BIT0. But my program doesn’t work, it may be reset continually. I don’t know if it needs other settings.
This is my code:
REMAP = 0x01;
FIQEN = BIT9;
The appendix is debug disassembly. PC only loop like appendix.