| |||
| Home > Memory Protection Unit > Memory access control > Instruction access permissions | |||
Separate access permissions are supported for instruction accesses. This enables areas of memory to be marked as non-executable, that is contain data only, without affecting data accesses. To execute instructions from a memory region the:
AP[2:0] bits must be set for data access that are read-only or read/write.
XN bit must be reset so all instruction fetches are enabled. Table 3.32 shows the encoding of the instruction access permission bits.