Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
PDP-11
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Instruction set orthogonality === {{See also|PDP-11 architecture}} The PDP–11 processor architecture has a mostly [[orthogonal instruction set]]. For example, instead of instructions such as ''load'' and ''store'', the PDP–11 has a ''move'' instruction for which either operand (source and destination) can be memory or register. There are no specific ''input'' or ''output'' instructions; the PDP–11 uses [[memory-mapped I/O]] and so the same ''move'' instruction is used; orthogonality even enables moving data directly from an input device to an output device. More complex instructions such as ''add'' likewise can have memory, register, input, or output as source or destination. Most operands can apply any of eight addressing modes to eight registers. The addressing modes provide register, immediate, absolute, relative, deferred (indirect), and indexed addressing, and can specify autoincrementation and autodecrementation of a register by one (byte instructions) or two (word instructions). Use of relative addressing lets a machine-language program be [[position-independent code|position-independent]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)