Liste des Groupes | Revenir à c misc |
It's the thing that holds the address of the current instruction beingCould it have been called instruction counter on some platforms? My
executed.
>
Effectively, CPU's operate like this loop here
>
int pc=0; while (1) {
execute_instruction (pc);
pc++;
}
>
After that, 'execute_instruction' can be thought of as a big
conditional statement that actually performs the task -- moving data
between CPU registers, reading from RAM, whatever.
>
>
>
memory is very hazy but I vaguely remember a register you could
manipulate directly from my assembler labs and the long gone days when I
thought computer viruses were interesting.
Les messages affichés proviennent d'usenet.