3 ms·
If an instruction changes the program counter, but the program counter doesn't appear as an operand of that instruction, then the effect is implicit. "Appearin
by kazinator 4y ago
If an instruction changes the program counter, but the program counter doesn't appear as an operand of that instruction, then the effect is implicit.
"Appearing as an operand" means that the instruction could choose a different register to increment other than the program counter, and to increment it by a different value other than exactly to the next instruction.
Indeed, if there is a program counter visible as a register, then it is an explicit representation of where execution is happening.
You don't seem to be sensitive to the IMHO critical difference between "explicit representation" and "explicit operation", though.
An explicit representation can be subject to the implicit effects of operations.
E.g. is is implicit that mkdir("foo", 0755) in Unix will create the directory entries "." and "..". Much of the time you don't worry about them. They are explicitly there, to be sure.
A closure object is an explicit representation of a function; the capture of lexical varaible values by a closure is implicit.