Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Operand
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
==Computer science== In computer [[programming language]]s, the definitions of [[operator (programming)|operator]] and '''operand''' are almost the same as in mathematics. In computing, an '''operand''' is the part of a computer instruction which specifies what data is to be manipulated or operated on, while at the same time representing the data itself.<ref>{{cite book |author =Nell Dale and John Lewis |title = Computer Science Illuminated, 5th Edition |year = 2012 |publisher = Jones and Bartlett |ISBN =978-1449672843 }}</ref> A computer instruction describes an operation such as add or multiply X, while the operand (or operands, as there can be more than one) specify on which X to operate as well as the value of X. Additionally, in [[assembly language]], an '''operand''' is a value (an argument) on which the [[instruction (computer science)|instruction]], named by [[mnemonic]], operates. The operand may be a [[processor register]], a [[memory address]], a literal constant, or a label. A simple example (in the [[x86]] architecture) is <syntaxhighlight lang="asm"> MOV BX, AX </syntaxhighlight> where the value in register operand <code>AX</code> is to be moved (<code>[[MOV (x86 instruction)|MOV]]</code>) into register <code>BX</code>. Depending on the [[instruction set|instruction]], there may be zero, one, two, or more operands.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Operand
(section)
Add topic