Does setting the NOP instructions to unused areas of the ROM valid?

Question:

(CPU) As a countermeasure against program malfunction, is the following measure valid ?
Setting the NOP instructions to unused areas of the ROM/RAM and,
setting a jump instruction at the end of each unused area for jumping to the start address of the program at reset. [2005/03/01]

Answer:

Yes, this should work for a malfunction if the program counter specifies the unused area of the ROM/RAM.
A similar valid method is:
Set the BRK instruction (00h) to the entire unused area of the ROM/RAM and,
set the start address of the program at reset to the vector of the BRK instruction interrupt.
In both cases, since the malfunction causes internal state instability, remember to reset all SFR/RAM, including unused functions. (#104746)