From WikiChip
Difference between revisions of "read-only register"

(Created page with "A '''read-only register''' is a special type of register that can only be read by the programmer. Read-only registers are typically used for things...")
 
Line 1: Line 1:
A '''read-only register''' is a special type of [[microprocessor register|register]] that can only be read by the programmer. Read-only registers are typically used for things such as [[status registers]], [[hardware timers]], [[counters]], and [[bus|data buses]] where data is only transmitted. Attempting to write to such registers typically results in a [[NOOP]] or an [[hardware exception|exception]], or on some older system a crash.
+
A '''read-only register''' is a special type of [[microprocessor register|register]] that can only be read by the programmer. Read-only registers are typically used for things such as [[status registers]], certain [[control registers]], [[hardware timers]], [[counters]], and [[bus|data buses]] where data is only transmitted. Attempting to write to such registers typically results in a [[NOOP]] or an [[hardware exception|exception]], or on some older system a crash. On various microprocessors some read-only registers can sometimes be set at [[boot time]].
  
 +
== See also ==
 +
* [[Write-only register]]
  
 
[[Category:Microprocessor registers]]
 
[[Category:Microprocessor registers]]

Revision as of 04:28, 25 July 2014

A read-only register is a special type of register that can only be read by the programmer. Read-only registers are typically used for things such as status registers, certain control registers, hardware timers, counters, and data buses where data is only transmitted. Attempting to write to such registers typically results in a NOOP or an exception, or on some older system a crash. On various microprocessors some read-only registers can sometimes be set at boot time.

See also