سؤال

While preparing for an exam, I came across this doubt. Does a CPU process instructions as data?

هل كانت مفيدة؟

المحلول

The short answer is yes. There's a Wikipedia entry on it. The gist of it is, if you have the address of the instructions you would like to read, then you can load those into data registers, test the instructions, and even write back new instructions. Many modern operating systems will probably not allow you write the instructions back however. It is a safety precaution to prevent malicious code from modifying your system, or trust applications.

نصائح أخرى

Depends on the computer:

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top