Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
htlr52076yA program counter is a register in a computer processor that contains the address (location) of the instruction being executed at the current time. As each instruction gets fetched, the program counter increases its stored value by 1. After each instruction is fetched, the program counter points to the next instruction in the sequence. When the computer restarts or is reset, the program counter normally reverts to 0.
Welcome to devRant ❤️ -
malluce46yYeah, i know what it does. However the name bothers me a lot when explaining it to students in my tutorial :D
Thank you :) -
malluce46yInstruction pointer would be more convenient i suppose. (i googled it and figured out that it is actually called like this, but at my university it is called PC all the time) :D
Which moron had the idea to name the register containing the address of the current instruction PROGRAM COUNTER? It fucking doesn't count programs, it points to an instruction.
rant