| Deutsch English Français Italiano |
|
<lhkp3iF3pe6U6@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Bob Eager <news0009@eager.cx>
Newsgroups: comp.misc
Subject: Re: Emigration from Usenet [was: Re: PTD was the most-respected of
the AUE regulars ...]
Date: 8 Aug 2024 20:45:38 GMT
Lines: 38
Message-ID: <lhkp3iF3pe6U6@mid.individual.net>
References: <uvej5e$34pfl$8@dont-email.me>
<toolmakers-20240806145434@ram.dialup.fu-berlin.de>
<v8ue8n$1uv83$1@dont-email.me> <wwvfrrgrci1.fsf@LkoBDZeT.terraraq.uk>
<66b38cf5$0$706$14726298@news.sunsite.dk> <v90tt0$3dtak$6@dont-email.me>
<slrnvb946m.28a.dan@djph.net>
<549cc6d8-d035-9efc-c112-a09609ec4b0b@example.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 7ApVHlFr16njY+YrHshTtAvJLQz3P+Ah3hrtaMQC74Kb6t5Eti
Cancel-Lock: sha1:NBnbYmJlvPPb89rXIrrwy2EdarA= sha256:svsB9UEb43R6HkvM1c0XVlsfRSVT+renXS1RhRu3DpU=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Bytes: 2279
On Thu, 08 Aug 2024 22:24:30 +0200, D wrote:
>> It's the thing that holds the address of the current instruction being
>> 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.
>>
>>
>>
> Could it have been called instruction counter on some platforms? My
> 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.
Instruction counter, to me, is something different. On the ICL 2900, it
literally counts the number of instructions executed. It can be used
instead of (or as well as) an interval timer, for scheduling.
The NCR/Elliott 4100 machines called the PC the S register (for Sequence
register).
--
Using UNIX since v6 (1975)...
Use the BIG mirror service in the UK:
http://www.mirrorservice.org