1. A method, comprising: comparing a first address of a read-only memory array of a non-volatile memory device to an address stored in a first trap address register of the non-volatile memory device; and fetching one or more replacement instructions from a random access memory array of the non-volatile memory device at least in part in response to a match between the first address of the read-only memory array and the address stored in the first trap address register.