I want to know how I can read the status bit of Flash Memory (DQ7...DQ0). I don't know if it have a SFR or not. If is possible to get a description in assembler will be great. Thank all. Witt
Status checking during flash memory programming and erasing is an embedded algorithm. The status bits are not in an SFR register. Please see page 109-112 for detail information.
Also please see the attached files for a code example on Flash Write using polling method to check for completion. The function is written in C. I also included this function displayed in Disassembly and Mix mode from Keil's compiler.