2
malluce
6y

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.

Comments
  • 2
    A 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 ❤️
  • 1
    Yeah, i know what it does. However the name bothers me a lot when explaining it to students in my tutorial :D
    Thank you :)
  • 1
    What would you rename it as?
  • 1
    Instruction 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
  • 1
    @malluce I guess, my uni too taught me as PC.
  • 0
    Mine as well.
Add Comment