Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

In theory, there is no difference between theory and practice. In practice, there is.


computers / comp.os.vms / Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

SubjectAuthor
* OT: PDP-11 history in arstechnicaArne Vajhøj
`* Re: OT: PDP-11 history in arstechnicaBob Gezelter
 +* Re: OT: PDP-11 history in arstechnicaArne Vajhøj
 |+- Re: OT: PDP-11 history in arstechnicaBill Gunshannon
 |`- Re: OT: PDP-11 history in arstechnicaSimon Clubley
 `* Re: OT: PDP-11 history in arstechnicaSimon Clubley
  +* Re: OT: PDP-11 history in arstechnicachris
  |`* Re: OT: PDP-11 history in arstechnicaRich Alderson
  | +* Re: OT: PDP-11 history in arstechnicachris
  | |+* Re: OT: PDP-11 history in arstechnicaBob Eager
  | ||`* Re: OT: PDP-11 history in arstechnicachris
  | || `- Re: OT: PDP-11 history in arstechnicaBob Eager
  | |`* Re: OT: PDP-11 history in arstechnicaJohnny Billquist
  | | `* Re: OT: PDP-11 history in arstechnicachris
  | |  `- Re: OT: PDP-11 history in arstechnicaBob Eager
  | `* Re: OT: PDP-11 history in arstechnicagah4
  |  `* Re: OT: PDP-11 history in arstechnicaRich Alderson
  |   +* Assembly languages, was: Re: OT: PDP-11 history in arstechnicaSimon Clubley
  |   |+- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicagah4
  |   |+- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaBob Eager
  |   |+- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaJohn Reagan
  |   |`* Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaJohnny Billquist
  |   | +* Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaSimon Clubley
  |   | |+- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaJohnny Billquist
  |   | |`* Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicagah4
  |   | | +- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicachris
  |   | | `- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaJohnny Billquist
  |   | `* Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaVAXman-
  |   |  +- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaSimon Clubley
  |   |  `- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaVAXman-
  |   `* Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaVAXman-
  |    `- Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnicaSimon Clubley
  `- Re: OT: PDP-11 history in arstechnicaBill Gunshannon

Pages:12
Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

<t12m4v$7g0$4@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21456&group=comp.os.vms#21456

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica
Date: Fri, 18 Mar 2022 19:22:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <t12m4v$7g0$4@dont-email.me>
References: <622fd413$0$694$14726298@news.sunsite.dk> <ee45cf7c-ad38-4e67-83c1-b5bb0c739547n@googlegroups.com> <t0opof$sbs$1@dont-email.me> <t0oql5$7tu$1@gioia.aioe.org> <mddtuc0dklt.fsf@panix5.panix.com> <5ba28016-256a-46f6-bb36-875209ba2b98n@googlegroups.com> <mddsfrhzlvi.fsf@panix5.panix.com> <t0u0h9$839$1@dont-email.me> <t12fej$6m2$1@news.misty.com>
Injection-Date: Fri, 18 Mar 2022 19:22:07 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="667a10a132367ed633e3b6f6e9fe6b20";
logging-data="7680"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UdSShvClgWy7L3nEd9hR2FtqiP8GkpIo="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:kkzUXcwYUgXJvydLol8whkYNOSc=
 by: Simon Clubley - Fri, 18 Mar 2022 19:22 UTC

On 2022-03-18, Johnny Billquist <bqt@softjar.se> wrote:
> On 2022-03-17 01:48, Simon Clubley wrote:
>> On 2022-03-16, Rich Alderson <news@alderson.users.panix.com> wrote:
>>>
>>> ALL the PDP-10 mnemonics for instructions which access memory have the same
>>> form (taking MOVE as a canonical example):
>>>
>>> MOVE load accumulator with contents of memory at effective address
>>> MOVEI load accumulator with immediate effective address calculation
>>> MOVES load accumulator with swapped halfwords of contents of memory
>>> at effective address
>>> MOVEM store accumulator into memory at effective address
>>>
>>> Look at the last character of the instruction. You don't even have to remember
>>> the difference between "load" and "store".
>>>
>>
>> Doesn't anyone else find it strange that the mnemonic across all
>> architectures is some variant of MOVE or MOV instead of COPY or CPY ?
>
> You mean across all of these two (or three) DEC architectures (PDP-10,
> PDP-11 and VAX)?
>
> Because some others use LOAD, LD, or some variant thereof. And then you
> have (as mentioned) the PDP-8 which only have TAD (two complement add),
> so if you want to read something out of memory, you better make sure the
> AC is 0 before you do. Which of course is helped by the store
> instruction which implicitly also clears the AC (DCA - Deposit and Clear
> AC).
> And there are other things out there as well, if we talk about "all
> architectures".
>

Yes, but that doesn't change my point that with every architecture
I know (both DEC and non-DEC) that uses a MOV/MOVE mnemonic variant,
then MOV/MOVE is actually a copy to destination instead as the source
is not destroyed during the copy.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

<t138lm$5bd$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21460&group=comp.os.vms#21460

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.46.20.243.28!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica
Date: Sat, 19 Mar 2022 01:38:13 +0100
Organization: MGT Consulting
Message-ID: <t138lm$5bd$1@news.misty.com>
References: <622fd413$0$694$14726298@news.sunsite.dk>
<ee45cf7c-ad38-4e67-83c1-b5bb0c739547n@googlegroups.com>
<t0opof$sbs$1@dont-email.me> <t0oql5$7tu$1@gioia.aioe.org>
<mddtuc0dklt.fsf@panix5.panix.com>
<5ba28016-256a-46f6-bb36-875209ba2b98n@googlegroups.com>
<mddsfrhzlvi.fsf@panix5.panix.com> <t0u0h9$839$1@dont-email.me>
<t12fej$6m2$1@news.misty.com> <t12m4v$7g0$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 19 Mar 2022 00:38:14 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="46.20.243.28";
logging-data="5485"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <t12m4v$7g0$4@dont-email.me>
 by: Johnny Billquist - Sat, 19 Mar 2022 00:38 UTC

On 2022-03-18 20:22, Simon Clubley wrote:
> On 2022-03-18, Johnny Billquist <bqt@softjar.se> wrote:
>> On 2022-03-17 01:48, Simon Clubley wrote:
>>> On 2022-03-16, Rich Alderson <news@alderson.users.panix.com> wrote:
>>>>
>>>> ALL the PDP-10 mnemonics for instructions which access memory have the same
>>>> form (taking MOVE as a canonical example):
>>>>
>>>> MOVE load accumulator with contents of memory at effective address
>>>> MOVEI load accumulator with immediate effective address calculation
>>>> MOVES load accumulator with swapped halfwords of contents of memory
>>>> at effective address
>>>> MOVEM store accumulator into memory at effective address
>>>>
>>>> Look at the last character of the instruction. You don't even have to remember
>>>> the difference between "load" and "store".
>>>>
>>>
>>> Doesn't anyone else find it strange that the mnemonic across all
>>> architectures is some variant of MOVE or MOV instead of COPY or CPY ?
>>
>> You mean across all of these two (or three) DEC architectures (PDP-10,
>> PDP-11 and VAX)?
>>
>> Because some others use LOAD, LD, or some variant thereof. And then you
>> have (as mentioned) the PDP-8 which only have TAD (two complement add),
>> so if you want to read something out of memory, you better make sure the
>> AC is 0 before you do. Which of course is helped by the store
>> instruction which implicitly also clears the AC (DCA - Deposit and Clear
>> AC).
>> And there are other things out there as well, if we talk about "all
>> architectures".
>>
>
> Yes, but that doesn't change my point that with every architecture
> I know (both DEC and non-DEC) that uses a MOV/MOVE mnemonic variant,
> then MOV/MOVE is actually a copy to destination instead as the source
> is not destroyed during the copy.

Ok. Fair enough. You have a point there. I've never considered it
strange, but I can see that it could be seen that way.

I would think of COPY as being much stranger though, even if it
semantically would be more appropriate.
You could also consider DEPOSIT, or STORE, or something along those
lines. But for some reason I prefer MOVE.

Johnny

Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

<266152bb-353f-40bc-bebc-d795c8124e80n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21462&group=comp.os.vms#21462

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:120a:b0:2e1:c9ba:e99b with SMTP id y10-20020a05622a120a00b002e1c9bae99bmr9350867qtx.685.1647652913343;
Fri, 18 Mar 2022 18:21:53 -0700 (PDT)
X-Received: by 2002:a05:622a:170b:b0:2e1:a659:8b4 with SMTP id
h11-20020a05622a170b00b002e1a65908b4mr9718422qtk.107.1647652913224; Fri, 18
Mar 2022 18:21:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 18 Mar 2022 18:21:53 -0700 (PDT)
In-Reply-To: <t12m4v$7g0$4@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:b97c:1f33:6d2c:984;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:b97c:1f33:6d2c:984
References: <622fd413$0$694$14726298@news.sunsite.dk> <ee45cf7c-ad38-4e67-83c1-b5bb0c739547n@googlegroups.com>
<t0opof$sbs$1@dont-email.me> <t0oql5$7tu$1@gioia.aioe.org>
<mddtuc0dklt.fsf@panix5.panix.com> <5ba28016-256a-46f6-bb36-875209ba2b98n@googlegroups.com>
<mddsfrhzlvi.fsf@panix5.panix.com> <t0u0h9$839$1@dont-email.me>
<t12fej$6m2$1@news.misty.com> <t12m4v$7g0$4@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <266152bb-353f-40bc-bebc-d795c8124e80n@googlegroups.com>
Subject: Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica
From: gah...@u.washington.edu (gah4)
Injection-Date: Sat, 19 Mar 2022 01:21:53 +0000
Content-Type: text/plain; charset="UTF-8"
 by: gah4 - Sat, 19 Mar 2022 01:21 UTC

On Friday, March 18, 2022 at 12:22:10 PM UTC-7, Simon Clubley wrote:

(snip)

> Yes, but that doesn't change my point that with every architecture
> I know (both DEC and non-DEC) that uses a MOV/MOVE mnemonic variant,
> then MOV/MOVE is actually a copy to destination instead as the source
> is not destroyed during the copy.

In the case of overlapping operands, the source might get,
at least partially, destroyed.

In the days of magnetic core memory, which has a destructive read
cycle, one could have designed processors that did clear the source.

Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

<t14et2$rkk$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21465&group=comp.os.vms#21465

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica
Date: Sat, 19 Mar 2022 11:30:42 +0000
Organization: Aioe.org NNTP Server
Message-ID: <t14et2$rkk$1@gioia.aioe.org>
References: <622fd413$0$694$14726298@news.sunsite.dk> <ee45cf7c-ad38-4e67-83c1-b5bb0c739547n@googlegroups.com> <t0opof$sbs$1@dont-email.me> <t0oql5$7tu$1@gioia.aioe.org> <mddtuc0dklt.fsf@panix5.panix.com> <5ba28016-256a-46f6-bb36-875209ba2b98n@googlegroups.com> <mddsfrhzlvi.fsf@panix5.panix.com> <t0u0h9$839$1@dont-email.me> <t12fej$6m2$1@news.misty.com> <t12m4v$7g0$4@dont-email.me> <266152bb-353f-40bc-bebc-d795c8124e80n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="28308"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 19 Mar 2022 11:30 UTC

On 03/19/22 01:21, gah4 wrote:
> On Friday, March 18, 2022 at 12:22:10 PM UTC-7, Simon Clubley wrote:
>
> (snip)
>
>> Yes, but that doesn't change my point that with every architecture
>> I know (both DEC and non-DEC) that uses a MOV/MOVE mnemonic variant,
>> then MOV/MOVE is actually a copy to destination instead as the source
>> is not destroyed during the copy.
>
> In the case of overlapping operands, the source might get,
> at least partially, destroyed.

The whole original point that was being made was that for sequences
like mov (a5)+. (a5), the (A5)+ always completes before the store to
(A5). That's how one would expect it to work, but it does require
a scratchpad store for the result of the first half of the expression.

Vax and pdp11 would work that way, as would later micros like 68000...

Chris

>
> In the days of magnetic core memory, which has a destructive read
> cycle, one could have designed processors that did clear the source.
>
>

Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

<00B71EEF.11C61517@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21468&group=comp.os.vms#21468

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica
Date: Sat, 19 Mar 2022 12:54:48 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B71EEF.11C61517@SendSpamHere.ORG>
References: <622fd413$0$694$14726298@news.sunsite.dk> <ee45cf7c-ad38-4e67-83c1-b5bb0c739547n@googlegroups.com> <t0opof$sbs$1@dont-email.me> <t0oql5$7tu$1@gioia.aioe.org> <mddtuc0dklt.fsf@panix5.panix.com> <5ba28016-256a-46f6-bb36-875209ba2b98n@googlegroups.com> <mddsfrhzlvi.fsf@panix5.panix.com> <t0u0h9$839$1@dont-email.me> <t12fej$6m2$1@news.misty.com>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="7869"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sat, 19 Mar 2022 12:54 UTC

In article <t12m4v$7g0$4@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2022-03-18, Johnny Billquist <bqt@softjar.se> wrote:
>> On 2022-03-17 01:48, Simon Clubley wrote:
>>> On 2022-03-16, Rich Alderson <news@alderson.users.panix.com> wrote:
>>>>
>>>> ALL the PDP-10 mnemonics for instructions which access memory have the same
>>>> form (taking MOVE as a canonical example):
>>>>
>>>> MOVE load accumulator with contents of memory at effective address
>>>> MOVEI load accumulator with immediate effective address calculation
>>>> MOVES load accumulator with swapped halfwords of contents of memory
>>>> at effective address
>>>> MOVEM store accumulator into memory at effective address
>>>>
>>>> Look at the last character of the instruction. You don't even have to remember
>>>> the difference between "load" and "store".
>>>>
>>>
>>> Doesn't anyone else find it strange that the mnemonic across all
>>> architectures is some variant of MOVE or MOV instead of COPY or CPY ?
>>
>> You mean across all of these two (or three) DEC architectures (PDP-10,
>> PDP-11 and VAX)?
>>
>> Because some others use LOAD, LD, or some variant thereof. And then you
>> have (as mentioned) the PDP-8 which only have TAD (two complement add),
>> so if you want to read something out of memory, you better make sure the
>> AC is 0 before you do. Which of course is helped by the store
>> instruction which implicitly also clears the AC (DCA - Deposit and Clear
>> AC).
>> And there are other things out there as well, if we talk about "all
>> architectures".
>>
>
>Yes, but that doesn't change my point that with every architecture
>I know (both DEC and non-DEC) that uses a MOV/MOVE mnemonic variant,
>then MOV/MOVE is actually a copy to destination instead as the source
>is not destroyed during the copy.

OMFG! Stop!

Your beloved 'C' language that you proselytize a posteriori is chock full
of pedant pondering palter. Ref::

MEMMOVE(3) BSD Library Functions Manual MEMMOVE(3)
---^^^^
NAME
memmove -- copy byte string
--------^^^^----^^^^
LIBRARY
Standard C Library (libc, -lc)

SYNOPSIS
#include <string.h>

void *
memmove(void *dst, const void *src, size_t len);
--------^^^^
DESCRIPTION
The memmove() function copies len bytes from string src to string dst. The two strings may overlap; the copy is
------------^^^^------------^^^^^^----------------------------------------------------------------------------^^^^
always done in a non-destructive manner.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

<t17f7s$ace$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21484&group=comp.os.vms#21484

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.77-58-244-139.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica
Date: Sun, 20 Mar 2022 15:54:51 +0100
Organization: MGT Consulting
Message-ID: <t17f7s$ace$1@news.misty.com>
References: <622fd413$0$694$14726298@news.sunsite.dk>
<ee45cf7c-ad38-4e67-83c1-b5bb0c739547n@googlegroups.com>
<t0opof$sbs$1@dont-email.me> <t0oql5$7tu$1@gioia.aioe.org>
<mddtuc0dklt.fsf@panix5.panix.com>
<5ba28016-256a-46f6-bb36-875209ba2b98n@googlegroups.com>
<mddsfrhzlvi.fsf@panix5.panix.com> <t0u0h9$839$1@dont-email.me>
<t12fej$6m2$1@news.misty.com> <t12m4v$7g0$4@dont-email.me>
<266152bb-353f-40bc-bebc-d795c8124e80n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 20 Mar 2022 14:54:53 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="77-58-244-139.dclient.hispeed.ch:77.58.244.139";
logging-data="10638"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <266152bb-353f-40bc-bebc-d795c8124e80n@googlegroups.com>
 by: Johnny Billquist - Sun, 20 Mar 2022 14:54 UTC

On 2022-03-19 02:21, gah4 wrote:
> On Friday, March 18, 2022 at 12:22:10 PM UTC-7, Simon Clubley wrote:
>
> (snip)
>
>> Yes, but that doesn't change my point that with every architecture
>> I know (both DEC and non-DEC) that uses a MOV/MOVE mnemonic variant,
>> then MOV/MOVE is actually a copy to destination instead as the source
>> is not destroyed during the copy.
>
> In the case of overlapping operands, the source might get,
> at least partially, destroyed.

That is just because the source would then also be the destination. And
it's being destroyed for being destination, so that don't count.

> In the days of magnetic core memory, which has a destructive read
> cycle, one could have designed processors that did clear the source.

The PDP-8 do. But then again, the instruction isn't called MOVE either.
And it only applies to the accumulator, which isn't in core.

But machines like the PDP-11 actually do take advantage of the
destructive behavior of core memory. Instructions which modifies the
destination will not refresh the old data back after it have been read
out, since a new value will be written soon anyway. (Think stuff like
ADD...)
If someone knows Unibus transactions, that's what the DATIP transaction
is there for.

Johnny

Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

<t1afeu$947$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21486&group=comp.os.vms#21486

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica
Date: Mon, 21 Mar 2022 18:17:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <t1afeu$947$1@dont-email.me>
References: <622fd413$0$694$14726298@news.sunsite.dk> <ee45cf7c-ad38-4e67-83c1-b5bb0c739547n@googlegroups.com> <t0opof$sbs$1@dont-email.me> <t0oql5$7tu$1@gioia.aioe.org> <mddtuc0dklt.fsf@panix5.panix.com> <5ba28016-256a-46f6-bb36-875209ba2b98n@googlegroups.com> <mddsfrhzlvi.fsf@panix5.panix.com> <t0u0h9$839$1@dont-email.me> <t12fej$6m2$1@news.misty.com> <00B71EEF.11C61517@SendSpamHere.ORG>
Injection-Date: Mon, 21 Mar 2022 18:17:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d04de412a5769fcc3135c6e367b295f5";
logging-data="9351"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lYSfQCLO4FL6+z8qFgocmD6/zrzb4DfE="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:O+YVcWkjqODGZ17ofpCI5pHO2iM=
 by: Simon Clubley - Mon, 21 Mar 2022 18:17 UTC

On 2022-03-19, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
> In article <t12m4v$7g0$4@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>
>>Yes, but that doesn't change my point that with every architecture
>>I know (both DEC and non-DEC) that uses a MOV/MOVE mnemonic variant,
>>then MOV/MOVE is actually a copy to destination instead as the source
>>is not destroyed during the copy.
>
> OMFG! Stop!
>

Yep. :-) I'm living rent-free in your head alright. :-)

> Your beloved 'C' language that you proselytize a posteriori is chock full
> of pedant pondering palter. Ref::
>
>
> MEMMOVE(3) BSD Library Functions Manual MEMMOVE(3)
> ---^^^^
> NAME
> memmove -- copy byte string
> --------^^^^----^^^^
> LIBRARY
> Standard C Library (libc, -lc)
>
> SYNOPSIS
> #include <string.h>
>
> void *
> memmove(void *dst, const void *src, size_t len);
> --------^^^^
> DESCRIPTION
> The memmove() function copies len bytes from string src to string dst. The two strings may overlap; the copy is
> ------------^^^^------------^^^^^^----------------------------------------------------------------------------^^^^
> always done in a non-destructive manner.
>
>

How does that invalidate my original observation ?

You've just found another example of it.

Thanks Brian. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica

<00B720D0.6B535799@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21493&group=comp.os.vms#21493

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Assembly languages, was: Re: OT: PDP-11 history in arstechnica
Date: Mon, 21 Mar 2022 22:20:26 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B720D0.6B535799@SendSpamHere.ORG>
References: <622fd413$0$694$14726298@news.sunsite.dk> <ee45cf7c-ad38-4e67-83c1-b5bb0c739547n@googlegroups.com> <t0opof$sbs$1@dont-email.me> <t0oql5$7tu$1@gioia.aioe.org> <mddtuc0dklt.fsf@panix5.panix.com> <5ba28016-256a-46f6-bb36-875209ba2b98n@googlegroups.com> <mddsfrhzlvi.fsf@panix5.panix.com> <t0u0h9$839$1@dont-email.me> <t12fej$6m2$1@news.misty.com> <00B71EEF.11C61517@SendSpamHere.ORG>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="61650"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Mon, 21 Mar 2022 22:20 UTC

In article <t1afeu$947$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2022-03-19, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
>> In article <t12m4v$7g0$4@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>>
>>>Yes, but that doesn't change my point that with every architecture
>>>I know (both DEC and non-DEC) that uses a MOV/MOVE mnemonic variant,
>>>then MOV/MOVE is actually a copy to destination instead as the source
>>>is not destroyed during the copy.
>>
>> OMFG! Stop!
>>
>
>Yep. :-) I'm living rent-free in your head alright. :-)
>
>> Your beloved 'C' language that you proselytize a posteriori is chock full
>> of pedant pondering palter. Ref::
>>
>>
>> MEMMOVE(3) BSD Library Functions Manual MEMMOVE(3)
>> ---^^^^
>> NAME
>> memmove -- copy byte string
>> --------^^^^----^^^^
>> LIBRARY
>> Standard C Library (libc, -lc)
>>
>> SYNOPSIS
>> #include <string.h>
>>
>> void *
>> memmove(void *dst, const void *src, size_t len);
>> --------^^^^
>> DESCRIPTION
>> The memmove() function copies len bytes from string src to string dst. The two strings may overlap; the copy is
>> ------------^^^^------------^^^^^^----------------------------------------------------------------------------^^^^
>> always done in a non-destructive manner.
>>
>>
>
>How does that invalidate my original observation ?
>
>You've just found another example of it.
>
>Thanks Brian. :-)

We should also abolish the CLR (clear) instruction too because it doesn't
"clear" a memory location or register, it zeroes it.

You're too chock full of pedant semantics. How about discussing something
useful instead of all the balderdash littering comp.os.vms? Of course, it
would probably mean that you would have had to use VMS, or develope product
or code, or provided support, or read a manual.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor