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
Instruction cycle
(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!
==Decode stage== Source:<ref>{{Cite book |url=https://www.ecs.csun.edu/~cputnam/Comp546/Stallings-Appendices/19-Control_Unit.pdf |title=Control Unit Operation}}</ref> The decoding process allows the processor to determine what instruction is to be performed so that the CPU can tell how many operands it needs to fetch in order to perform the instruction. The opcode fetched from the memory is decoded for the next steps and moved to the appropriate registers. The decoding is typically performed by [[binary decoder]]s in the CPU's CU. === Determining effective addresses === Source:<ref>{{Cite book |url=https://zeus.cs.pacificu.edu/shereen/OldCourses/cs430f08/Lectures/ch11aF08.pdf |title=Instruction Sets: Addressing Modes and Formats}}</ref> There are various ways that an architecture can specify determining the address for operands, usually called the [[Addressing mode|addressing modes]]. Some common ways the effective address can be found are: * Direct addressing - the address of the instruction contains the effective address * Indirect addressing - the address of the instruction specifies the address of the memory location that contains the effective address * PC-relative addressing - the effective address is calculated from an address relative to the PC * Stack addressing - the operand is at the top of the [[Stack (abstract data type)|stack]]
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)