Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The world is no nursery. -- Sigmund Freud


computers / alt.folklore.computers / Getting started with Assembly language

SubjectAuthor
* Getting started with Assembly languageVansh Kapoor
+* Re: Getting started with Assembly languagePete
|`* Re: Getting started with Assembly languageDavid LaRue
| `* Re: Getting started with Assembly languagePeter Flass
|  `* Re: Getting started with Assembly languageBorax Man
|   `* Re: Getting started with Assembly languagePeter Flass
|    +* Re: Getting started with Assembly languageVir Campestris
|    |+* Re: Getting started with Assembly languageBob Eager
|    ||+* Re: Getting started with Assembly languageScott Lurndal
|    |||`* Re: Getting started with Assembly languageJuan
|    ||| `- Re: Getting started with Assembly languageBob Eager
|    ||`- Re: Getting started with Assembly languageCharlie Gibbs
|    |+* Re: Getting started with Assembly languageAndy Walker
|    ||`* Re: Getting started with Assembly languageScott Lurndal
|    || `* Re: Getting started with Assembly languageAndy Walker
|    ||  +* Re: Getting started with Assembly languageCharlie Gibbs
|    ||  |+* Re: Getting started with Assembly languageAndy Walker
|    ||  ||+* Re: Getting started with Assembly languageScott Lurndal
|    ||  |||`* Re: Getting started with Assembly languagePeter Flass
|    ||  ||| +- Re: Getting started with Assembly languageScott Lurndal
|    ||  ||| `- Re: Getting started with Assembly languageVir Campestris
|    ||  ||`- Re: Getting started with Assembly languageBob Eager
|    ||  |`* Re: Getting started with Assembly languageScott Lurndal
|    ||  | `- Re: Getting started with Assembly languagePeter Flass
|    ||  `* Re: Getting started with Assembly languageVir Campestris
|    ||   `* Re: Getting started with Assembly languageSn!pe
|    ||    +- Re: Getting started with Assembly languageCharlie Gibbs
|    ||    `* Re: Getting started with Assembly languagePeter Flass
|    ||     +* Re: Getting started with Assembly languageAhem A Rivet's Shot
|    ||     |`* Re: Getting started with Assembly languageScott Lurndal
|    ||     | `* Re: Getting started with Assembly languageBob Eager
|    ||     |  `- Re: Getting started with Assembly languageBob Martin
|    ||     `* Re: 2 mny abbrs, Getting started with Assembly languageJohn Levine
|    ||      `- Re: 2 mny abbrs, Getting started with Assembly languageSn!pe
|    |`* 286 Protected Mode (Was: Re: Getting started with Assembly language)Lars Poulsen
|    | +- Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)John Levine
|    | +* Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)Scott Lurndal
|    | |+* Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with AssemJohn Levine
|    | ||+* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingAhem A Rivet's Shot
|    | |||+* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | ||||`- Re: segments yes and no, 286 Protected Mode (Was: Re: GettingAhem A Rivet's Shot
|    | |||`* Re: segments yes and no, 286 Protected Mode (Was: Re:Peter Flass
|    | ||| `* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | |||  +* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingJohn Levine
|    | |||  |`- Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | |||  `* Re: Getting started with Assembly language)Bob Martin
|    | |||   +* Re: Getting started with Assembly language)Bob Eager
|    | |||   |`* Re: Getting started with Assembly language)Vir Campestris
|    | |||   | `- Re: Getting started with Assembly language)Bob Eager
|    | |||   +- Re: Getting started with Assembly language)Ahem A Rivet's Shot
|    | |||   `- Re: Getting started with Assembly language)Scott Lurndal
|    | ||+* Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with AssemScott Lurndal
|    | |||+- Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | |||`* Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with AssemJohn Levine
|    | ||| `* Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with AssemScott Lurndal
|    | |||  `- Re: Unix ancient history, segments yes and noJohn Levine
|    | ||`* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingThomas Koenig
|    | || `- Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | |`* Re: 286 Protected Mode (Was: Re: Getting started with AssemblyLars Poulsen
|    | | `- Re: 286 Protected Mode (Was: Re: Getting started with AssemblyBob Eager
|    | `- Re: 286 Protected Mode (Was: Re: Getting started withPeter Flass
|    +* Re: Getting started with Assembly languageBorax Man
|    |`- Re: Getting started with Assembly languageKerr-Mudd, John
|    `- Re: Getting started with Assembly languageBorax Man
+- Re: Getting started with Assembly languageJohn Levine
`- Re: Getting started with Assembly languageSyber Shock

Pages:123
Getting started with Assembly language

<171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8846&group=alt.folklore.computers#8846

  copy link   Newsgroups: alt.folklore.computers
X-Received: by 2002:a05:620a:4092:b0:77b:d563:1c0b with SMTP id f18-20020a05620a409200b0077bd5631c0bmr241845qko.14.1700911979461;
Sat, 25 Nov 2023 03:32:59 -0800 (PST)
X-Received: by 2002:a17:90b:1d81:b0:285:a3fa:6399 with SMTP id
pf1-20020a17090b1d8100b00285a3fa6399mr282552pjb.7.1700911979259; Sat, 25 Nov
2023 03:32:59 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.folklore.computers
Date: Sat, 25 Nov 2023 03:32:58 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=50.71.204.77; posting-account=aeqSbQoAAAAVxc2lwGB_lkkjaTDnZRPg
NNTP-Posting-Host: 50.71.204.77
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
Subject: Getting started with Assembly language
From: kapoorvansh200@gmail.com (Vansh Kapoor)
Injection-Date: Sat, 25 Nov 2023 11:32:59 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1114
 by: Vansh Kapoor - Sat, 25 Nov 2023 11:32 UTC

I am trying to learn/understand assembly language for 80186 microprocessor. what would be the best source for that.

Re: Getting started with Assembly language

<ujsnjp$2poap$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8847&group=alt.folklore.computers#8847

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pjetson@yahoo.com (Pete)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Sat, 25 Nov 2023 22:59:54 +1100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <ujsnjp$2poap$1@dont-email.me>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 25 Nov 2023 11:59:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="415c1180b46f09b5a58e7152476b35ce";
logging-data="2941273"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+a0sTVox1FCZS25N4HpqNAz5J11F+kRJs="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:FNur0QXazuCpiPB5qsQLQZwXdz8=
Content-Language: en-AU, en-US
In-Reply-To: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
 by: Pete - Sat, 25 Nov 2023 11:59 UTC

On 25/11/2023 10:32 pm, Vansh Kapoor wrote:
> I am trying to learn/understand assembly language for 80186 microprocessor. what would be the best source for that.

Have you tried a Google search like this:

https://www.google.com/search?q=80186+assembly+language+tutorial

Peter

Re: Getting started with Assembly language

<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8848&group=alt.folklore.computers#8848

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: huey.dll@tampabay.rr.com (David LaRue)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Sat, 25 Nov 2023 14:52:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <ujsnjp$2poap$1@dont-email.me>
Injection-Date: Sat, 25 Nov 2023 14:52:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="925bdce09e1f55c631f2eb70f5e9bd5e";
logging-data="2990863"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wd1K6CxK1lNrpoHKPbQEJ"
User-Agent: Xnews/2006.08.24
Cancel-Lock: sha1:ZzoiVXTwac8SEpAM4TT3gCqbIgc=
 by: David LaRue - Sat, 25 Nov 2023 14:52 UTC

Pete <pjetson@yahoo.com> wrote in news:ujsnjp$2poap$1@dont-email.me:

> On 25/11/2023 10:32 pm, Vansh Kapoor wrote:
>> I am trying to learn/understand assembly language for 80186
>> microprocessor. what would be the best source for that.
>
> Have you tried a Google search like this:
>
> https://www.google.com/search?q=80186+assembly+language+tutorial
>
> Peter

For any computer look at the physical layout (registers, addressing, etc.)
and available commands. Now figure out how you or others would acomplish
various goals needed in the tasks you want to accomplish. Sources like
above can offer rules to follow, but perhaps the best way to learn is to do
it yourself and find ways to accomplish your goals. There may be many ways
to accomplish the same goal. Learn to adapt to various goals. Sample
goals could be instruction count, bytes needed for the assembly language,
and assembling your own building blocks for various projects.

Re: Getting started with Assembly language

<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8849&group=alt.folklore.computers#8849

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!news.chmurka.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: peter_flass@yahoo.com (Peter Flass)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Sat, 25 Nov 2023 10:30:16 -0700
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="398df02db724e24224c48ab536e4deae";
logging-data="3035048"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eNLGAFyQ0+M4neyRYBfyz"
User-Agent: NewsTap/5.3.1 (iPad)
Cancel-Lock: sha1:Sli2JiEN57qUHxeu6TTO7pEX5X8=
sha1:ALR61i/o1K9EEwmaURamQcnQang=
 by: Peter Flass - Sat, 25 Nov 2023 17:30 UTC

David LaRue <huey.dll@tampabay.rr.com> wrote:
> Pete <pjetson@yahoo.com> wrote in news:ujsnjp$2poap$1@dont-email.me:
>
>> On 25/11/2023 10:32 pm, Vansh Kapoor wrote:
>>> I am trying to learn/understand assembly language for 80186
>>> microprocessor. what would be the best source for that.
>>
>> Have you tried a Google search like this:
>>
>> https://www.google.com/search?q=80186+assembly+language+tutorial
>>
>> Peter
>
> For any computer look at the physical layout (registers, addressing, etc.)
> and available commands. Now figure out how you or others would acomplish
> various goals needed in the tasks you want to accomplish. Sources like
> above can offer rules to follow, but perhaps the best way to learn is to do
> it yourself and find ways to accomplish your goals. There may be many ways
> to accomplish the same goal. Learn to adapt to various goals. Sample
> goals could be instruction count, bytes needed for the assembly language,
> and assembling your own building blocks for various projects.
>

For any new language I usually like to start with a working sample program
and then play around and make changes to it to see what’s happening.

--
Pete

Re: Getting started with Assembly language

<ujthl3$7p0$1@gal.iecc.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8850&group=alt.folklore.computers#8850

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Sat, 25 Nov 2023 19:24:19 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <ujthl3$7p0$1@gal.iecc.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
Injection-Date: Sat, 25 Nov 2023 19:24:19 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="7968"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Sat, 25 Nov 2023 19:24 UTC

According to Vansh Kapoor <kapoorvansh200@gmail.com>:
>I am trying to learn/understand assembly language for 80186 microprocessor. what would be the best source
>for that.

The 80186 was very similar to the 8086 and 8088, and a subset of the
80286, all often as a group called x86.

There's lots of online x86 programming tutorials.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: Getting started with Assembly language

<20231126092837.19be4f27@hotmail.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8852&group=alt.folklore.computers#8852

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rotflol2@hotmail.com (Borax Man)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Sun, 26 Nov 2023 09:28:37 +1100
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <20231126092837.19be4f27@hotmail.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="6a886c1d3252fe42435428902af377a6";
logging-data="3113237"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19S3O6bV/qe3XAb/iWTgRnWhWzbwAiPq+c="
Cancel-Lock: sha1:HNN+PiNHK3GL77bLhtW1z9VRZJ8=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu)
 by: Borax Man - Sat, 25 Nov 2023 22:28 UTC

On Sat, 25 Nov 2023 10:30:16 -0700
Peter Flass <peter_flass@yahoo.com> wrote:

> David LaRue <huey.dll@tampabay.rr.com> wrote:
> > Pete <pjetson@yahoo.com> wrote in news:ujsnjp$2poap$1@dont-email.me:
> >
> >> On 25/11/2023 10:32 pm, Vansh Kapoor wrote:
> >>> I am trying to learn/understand assembly language for 80186
> >>> microprocessor. what would be the best source for that.
> >>
> >> Have you tried a Google search like this:
> >>
> >> https://www.google.com/search?q=80186+assembly+language+tutorial
> >>
> >> Peter
> >
> > For any computer look at the physical layout (registers, addressing, etc.)
> > and available commands. Now figure out how you or others would acomplish
> > various goals needed in the tasks you want to accomplish. Sources like
> > above can offer rules to follow, but perhaps the best way to learn is to do
> > it yourself and find ways to accomplish your goals. There may be many ways
> > to accomplish the same goal. Learn to adapt to various goals. Sample
> > goals could be instruction count, bytes needed for the assembly language,
> > and assembling your own building blocks for various projects.
> >
>
> For any new language I usually like to start with a working sample program
> and then play around and make changes to it to see what’s happening.
>
> --
> Pete

Nothing beats having a good book. Unfortunately those targetting the
16 bit intel chips are old and hard to find. Jeff Duntemann's
Assembly Language Step-by-step is good, but current versions are
targetted towards Linux.

You can find a 1992 version here.

https://www.cin.ufpe.br/~clac/infra_de_software/Assembly%20Language%20Step%20by%20Step%201992.pdf

Another good resource is https://flatassembler.net/

There is an assembler, a forum, and the FASM Manual goes through the
intel instruction set in detail.

--

Re: Getting started with Assembly language

<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8854&group=alt.folklore.computers#8854

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: peter_flass@yahoo.com (Peter Flass)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Mon, 27 Nov 2023 12:37:22 -0700
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="14a469ec051b1049cd48eecc95c97bdd";
logging-data="4099061"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19CGOKtvyNsIgH674x25IpJ"
User-Agent: NewsTap/5.3.1 (iPad)
Cancel-Lock: sha1:dM/GMbhVJgtF7GdijLIcrjG0p3U=
sha1:3gcZrS9Allb0uqaVXid83A4I/P4=
 by: Peter Flass - Mon, 27 Nov 2023 19:37 UTC

Borax Man <rotflol2@hotmail.com> wrote:
> On Sat, 25 Nov 2023 10:30:16 -0700
> Peter Flass <peter_flass@yahoo.com> wrote:
>
>> David LaRue <huey.dll@tampabay.rr.com> wrote:
>>> Pete <pjetson@yahoo.com> wrote in news:ujsnjp$2poap$1@dont-email.me:
>>>
>>>> On 25/11/2023 10:32 pm, Vansh Kapoor wrote:
>>>>> I am trying to learn/understand assembly language for 80186
>>>>> microprocessor. what would be the best source for that.
>>>>
>>>> Have you tried a Google search like this:
>>>>
>>>> https://www.google.com/search?q=80186+assembly+language+tutorial
>>>>
>>>> Peter
>>>
>>> For any computer look at the physical layout (registers, addressing, etc.)
>>> and available commands. Now figure out how you or others would acomplish
>>> various goals needed in the tasks you want to accomplish. Sources like
>>> above can offer rules to follow, but perhaps the best way to learn is to do
>>> it yourself and find ways to accomplish your goals. There may be many ways
>>> to accomplish the same goal. Learn to adapt to various goals. Sample
>>> goals could be instruction count, bytes needed for the assembly language,
>>> and assembling your own building blocks for various projects.
>>>
>>
>> For any new language I usually like to start with a working sample program
>> and then play around and make changes to it to see what’s happening.
>>
>> --
>> Pete
>
>
> Nothing beats having a good book. Unfortunately those targetting the
> 16 bit intel chips are old and hard to find. Jeff Duntemann's
> Assembly Language Step-by-step is good, but current versions are
> targetted towards Linux.

Is there anything else?

>
> You can find a 1992 version here.
>
> https://www.cin.ufpe.br/~clac/infra_de_software/Assembly%20Language%20Step%20by%20Step%201992.pdf
>
> Another good resource is https://flatassembler.net/
>
> There is an assembler, a forum, and the FASM Manual goes through the
> intel instruction set in detail.
>
>

--
Pete

Re: Getting started with Assembly language

<uk4hrr$8978$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8856&group=alt.folklore.computers#8856

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vir.campestris@invalid.invalid (Vir Campestris)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Tue, 28 Nov 2023 11:10:51 +0000
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <uk4hrr$8978$3@dont-email.me>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 28 Nov 2023 11:10:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="87d0df0142e9cbb5f063a1b1f03c6cd9";
logging-data="271592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SwRT7bKNNnXQFEoWlBunYgErlJ/TzuGE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:wzsMwnbKWdlzrCCq43cK15KDjRQ=
Content-Language: en-GB
In-Reply-To: <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
 by: Vir Campestris - Tue, 28 Nov 2023 11:10 UTC

Looking back through this thread - some advice from an old wrinkly
programmer.

My first assembler was a mainframe, back at the end of the 1970s - the
OS I was working on was entirely in assembler.

I learned 8085 assembler back when it was a hot new chip. I wrote lots.

The 8086 obviously came along, and I learned and used that a lot too.

The '286 was mostly just a faster 8086. Its protected mode was brain
damaged.

Come the '386, and even systems code wasn't using much in the way of
assembler. I don't think I did anything new except learn how the virtual
memory worked. That's been true of all the Intel chips since.

The last ten years or so I've been using ARM chips. I can just about
read the assembler, but I certainly wouldn't try to write it. Almost
everything is written in high level languages. Usually C or C++.

I'm sure compiler writers still need to know the assembler stuff, but
that's a small niche.

So, original poster - why do you think you need to learn assembler?
Especially for an obsolete chip?

Andy

Re: Getting started with Assembly language

<ksm4dhFoiiaU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8857&group=alt.folklore.computers#8857

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news-1.dfn.de!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0009@eager.cx (Bob Eager)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: 28 Nov 2023 12:23:13 GMT
Lines: 39
Message-ID: <ksm4dhFoiiaU1@mid.individual.net>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net nnru+Fs57HraZHcmW78eugvkgivJZNAC+bcwrM3w130bDIHlrp
Cancel-Lock: sha1:TO7vyFcDDV99b00O0lIdXtJENMw= sha256:+0HHcyQ2Db2Ohl9ZvKdMAvshLLrHHYB76HRIEJwwMKc=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Tue, 28 Nov 2023 12:23 UTC

On Tue, 28 Nov 2023 11:10:51 +0000, Vir Campestris wrote:

> Looking back through this thread - some advice from an old wrinkly
> programmer.
>
> My first assembler was a mainframe, back at the end of the 1970s - the
> OS I was working on was entirely in assembler.
>
> I learned 8085 assembler back when it was a hot new chip. I wrote lots.
>
> The 8086 obviously came along, and I learned and used that a lot too.
>
> The '286 was mostly just a faster 8086. Its protected mode was brain
> damaged.
>
> Come the '386, and even systems code wasn't using much in the way of
> assembler. I don't think I did anything new except learn how the virtual
> memory worked. That's been true of all the Intel chips since.

Worth mentioning more about the 80186. It incorporated a few extra
instructions, but nothing very major.

Principally, the reason for it was that it was a single chip solution (the
8086 required about 5 chips, as I recall). The 80186 incorporated the
interrupt controller, DMA controller, etc. It was however (at the OS
level) incompatible with the 8086.

The 8088 and 80188 had a similar relationship, with an 8 bit data bus.

The 80286 had completely incompatible memory management (but could operate
as a fast 8086). And there was also an 80288.

--
Using UNIX since v6 (1975)...

Use the BIG mirror service in the UK:
http://www.mirrorservice.org

Re: Getting started with Assembly language

<gmn9N.30034$rx%7.2305@fx47.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8858&group=alt.folklore.computers#8858

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx47.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Getting started with Assembly language
Newsgroups: alt.folklore.computers
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <ujsnjp$2poap$1@dont-email.me> <XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170> <282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org> <20231126092837.19be4f27@hotmail.com> <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org> <uk4hrr$8978$3@dont-email.me> <ksm4dhFoiiaU1@mid.individual.net>
Lines: 31
Message-ID: <gmn9N.30034$rx%7.2305@fx47.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 28 Nov 2023 15:06:52 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 28 Nov 2023 15:06:52 GMT
X-Received-Bytes: 2250
 by: Scott Lurndal - Tue, 28 Nov 2023 15:06 UTC

Bob Eager <news0009@eager.cx> writes:
>On Tue, 28 Nov 2023 11:10:51 +0000, Vir Campestris wrote:
>
>> Looking back through this thread - some advice from an old wrinkly
>> programmer.
>>
>> My first assembler was a mainframe, back at the end of the 1970s - the
>> OS I was working on was entirely in assembler.
>>
>> I learned 8085 assembler back when it was a hot new chip. I wrote lots.
>>
>> The 8086 obviously came along, and I learned and used that a lot too.
>>
>> The '286 was mostly just a faster 8086. Its protected mode was brain
>> damaged.
>>
>> Come the '386, and even systems code wasn't using much in the way of
>> assembler. I don't think I did anything new except learn how the virtual
>> memory worked. That's been true of all the Intel chips since.
>
>Worth mentioning more about the 80186. It incorporated a few extra
>instructions, but nothing very major.
>
>Principally, the reason for it was that it was a single chip solution (the
>8086 required about 5 chips, as I recall). The 80186 incorporated the
>interrupt controller, DMA controller, etc. It was however (at the OS
>level) incompatible with the 8086.

IME, the 80186 was primarily used as an embedded processor in
a larger system. We used them in the mainframe I/O subsystem.

Re: Getting started with Assembly language

<20231128091339.7e65156f@dev>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8859&group=alt.folklore.computers#8859

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!rocksolid2!.POSTED!not-for-mail
From: admin@sybershock.com (Syber Shock)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Tue, 28 Nov 2023 09:17:52 -0600
Organization: Baggy Jeans Mafia (sybershock.com)
Message-ID: <20231128091339.7e65156f@dev>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org;
logging-data="3152749"; mail-complaints-to="usenet@novabbs.org";
posting-account="TzG3Hl99Aa0Fgb506WreKRgRTO2mG9+aGjVDifyfNqo";
 by: Syber Shock - Tue, 28 Nov 2023 15:17 UTC

On Sat, 25 Nov 2023 03:32:58 -0800 (PST)
Vansh Kapoor <kapoorvansh200@gmail.com> wrote:

> I am trying to learn/understand assembly language for 80186
> microprocessor. what would be the best source for that.

80186 Manuals: http://rcollins.org/intel.doc/186Manuals.html

FPC has a 8086/80186 cross-compiler. Being old and arcane
documentation might be sparse. If it does still have the target you can
output raw asm for the target and examine it.

Free Pascal compiled programs running on a real 80186 computer: This is
one of the first 16-bit programs, compiled by Free Pascal, running on a
real 80186 computer - the HP 200LX.
https://youtu.be/wscin9RUiTU

The user can flag the FreePascal compiler to output assembly and then
examine the assembly code.

https://wiki.freepascal.org/DOS says that FreePascal supports 80186 as a
16-bit compiler target. It also says this mode allows writing
bootloader and bios code.

If you can find a compiler that targets your preferred chip you can
compile simple programs to assembly. Then you can examine the
generated assembly to see how the functions are translated into
assembler for that target. This is IMHO the best way to learn fast and
see some optimization logic for certain tasks.

--
Baggy Jeans Mafia | https://toot.syfershock.com/profile/crypto/profile

Re: Getting started with Assembly language

<uk53c4$b70v$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8860&group=alt.folklore.computers#8860

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anw@cuboid.co.uk (Andy Walker)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Tue, 28 Nov 2023 16:09:40 +0000
Organization: Not very much
Lines: 40
Message-ID: <uk53c4$b70v$1@dont-email.me>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 28 Nov 2023 16:09:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="50f7695b4695a69573d79f1b44273b5c";
logging-data="367647"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19V/ENeGBwglK8X3PaRtLph"
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:ME9mJeDYXdbmPbg+3KP8M8mTAvM=
In-Reply-To: <uk4hrr$8978$3@dont-email.me>
Content-Language: en-GB
 by: Andy Walker - Tue, 28 Nov 2023 16:09 UTC

On 28/11/2023 11:10, Vir Campestris wrote:
> Looking back through this thread - some advice from an old wrinkly programmer.
> My first assembler was a mainframe, back at the end of the 1970s [...].

[History snipped.] I started with Atlas [apart from a brief go with
Edsac] in '66, and still have a shelf-full of snaffled m/c code, inc the O/S
[such as it was] and several compilers. On to KDF9, ICL 1900 and PDP 11 m/c
code. But after that, I didn't bother, and haven't missed it.

> The last ten years or so I've been using ARM chips. I can just about
> read the assembler, but I certainly wouldn't try to write it. Almost
> everything is written in high level languages. Usually C or C++.

I more-or-less stopped using C [and never really started with C++]
30-odd years ago. Where practicable, I write shell scripts, using Sed and
other editors to do character twiddling; and Algol for serious computing.
I rarely even bother to compile the Algol; the interpreter is plenty fast
enough for anything short of full-scale astrophysical simulations [and is
hugely faster on my PC than the optimised compiled code on our university
mainframe in the 1970s].

> I'm sure compiler writers still need to know the assembler stuff, but
> that's a small niche.

Even most compiler writers can get away with "compiling" into C and
then relying on the work of others to get that into an executable! So the
niche is really /very/ small.

> So, original poster - why do you think you need to learn assembler?
> Especially for an obsolete chip?

To be fair, the OP didn't claim necessity. Anyone with an academic
bent is entitled simply to be curious about how things are, or were, done.
Personally, I hate not knowing things that interest me, and esp hate being
told that I don't /need/ to know them.

--
Andy Walker, Nottingham.
Andy's music pages: www.cuboid.me.uk/andy/Music
Composer of the day: www.cuboid.me.uk/andy/Music/Composers/Ravel

Re: Getting started with Assembly language

<Nmo9N.36302$Ycdc.30963@fx09.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8861&group=alt.folklore.computers#8861

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Getting started with Assembly language
Newsgroups: alt.folklore.computers
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <ujsnjp$2poap$1@dont-email.me> <XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170> <282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org> <20231126092837.19be4f27@hotmail.com> <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org> <uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me>
Lines: 52
Message-ID: <Nmo9N.36302$Ycdc.30963@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 28 Nov 2023 16:15:41 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 28 Nov 2023 16:15:41 GMT
X-Received-Bytes: 3543
 by: Scott Lurndal - Tue, 28 Nov 2023 16:15 UTC

Andy Walker <anw@cuboid.co.uk> writes:
>On 28/11/2023 11:10, Vir Campestris wrote:
>> Looking back through this thread - some advice from an old wrinkly programmer.
>> My first assembler was a mainframe, back at the end of the 1970s [...].
>
> [History snipped.] I started with Atlas [apart from a brief go with
>Edsac] in '66, and still have a shelf-full of snaffled m/c code, inc the O/S
>[such as it was] and several compilers. On to KDF9, ICL 1900 and PDP 11 m/c
>code. But after that, I didn't bother, and haven't missed it.

Have you considered donating that to one of the museums (such as CHM?)

m/c must be a British abbreviation for something...

>
>> The last ten years or so I've been using ARM chips. I can just about
>> read the assembler, but I certainly wouldn't try to write it. Almost
>> everything is written in high level languages. Usually C or C++.
>
> I more-or-less stopped using C [and never really started with C++]
>30-odd years ago. Where practicable, I write shell scripts, using Sed and
>other editors to do character twiddling; and Algol for serious computing.
>I rarely even bother to compile the Algol; the interpreter is plenty fast
>enough for anything short of full-scale astrophysical simulations [and is
>hugely faster on my PC than the optimised compiled code on our university
>mainframe in the 1970s].
>
>> I'm sure compiler writers still need to know the assembler stuff, but
>> that's a small niche.
>
> Even most compiler writers can get away with "compiling" into C and
>then relying on the work of others to get that into an executable! So the
>niche is really /very/ small.

The folks that must learn every nook and cranny of the machine language
are those who write processor simulators. I've done both ARMv7
and ARMv8 simulators over the last decade and thus have a quite
robust understanding of the instruction set and architecture. I have
no interest, for the most part, in writing code in assembler, however.

>
>> So, original poster - why do you think you need to learn assembler?
>> Especially for an obsolete chip?
>
> To be fair, the OP didn't claim necessity. Anyone with an academic
>bent is entitled simply to be curious about how things are, or were, done.
>Personally, I hate not knowing things that interest me, and esp hate being
>told that I don't /need/ to know them.

Understanding the machine language is often helpful when debugging
compiled code from higher-level languages.

Re: Getting started with Assembly language

<idr9N.26160$BSkc.25334@fx06.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8862&group=alt.folklore.computers#8862

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!paganini.bofh.team!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx06.iad.POSTED!not-for-mail
Newsgroups: alt.folklore.computers
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Getting started with Assembly language
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <ksm4dhFoiiaU1@mid.individual.net>
User-Agent: slrn/1.0.3 (Linux)
Lines: 52
Message-ID: <idr9N.26160$BSkc.25334@fx06.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 28 Nov 2023 19:30:22 UTC
Date: Tue, 28 Nov 2023 19:30:22 GMT
X-Received-Bytes: 2999
 by: Charlie Gibbs - Tue, 28 Nov 2023 19:30 UTC

On 2023-11-28, Bob Eager <news0009@eager.cx> wrote:

> On Tue, 28 Nov 2023 11:10:51 +0000, Vir Campestris wrote:
>
>> Looking back through this thread - some advice from an old wrinkly
>> programmer.
>>
>> My first assembler was a mainframe, back at the end of the 1970s - the
>> OS I was working on was entirely in assembler.
>>
>> I learned 8085 assembler back when it was a hot new chip. I wrote lots.
>>
>> The 8086 obviously came along, and I learned and used that a lot too.
>>
>> The '286 was mostly just a faster 8086. Its protected mode was brain
>> damaged.
>>
>> Come the '386, and even systems code wasn't using much in the way of
>> assembler. I don't think I did anything new except learn how the virtual
>> memory worked. That's been true of all the Intel chips since.
>
> Worth mentioning more about the 80186. It incorporated a few extra
> instructions, but nothing very major.
>
> Principally, the reason for it was that it was a single chip solution (the
> 8086 required about 5 chips, as I recall). The 80186 incorporated the
> interrupt controller, DMA controller, etc. It was however (at the OS
> level) incompatible with the 8086.
>
> The 8088 and 80188 had a similar relationship, with an 8 bit data bus.
>
> The 80286 had completely incompatible memory management (but could operate
> as a fast 8086). And there was also an 80288.

8080 One little,
8085 Two little,
8086 Three little-endians
8088 Four little,
80186 Five little,
80286 Six little-endians
80386 Seven little,
80386SX Eight little,
80486 Nine little-endians
Pentium DIVIDE ERROR

"I am Pentium of Borg. Division is futile. You will be approximated."

--
/~\ Charlie Gibbs | The Internet is like a big city:
\ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
X I'm really at ac.dekanfrus | excitement, but also dark alleys
/ \ if you read it the right way. | down which the unwary get mugged.

Re: Getting started with Assembly language

<uk5ld1$e8qd$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8863&group=alt.folklore.computers#8863

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anw@cuboid.co.uk (Andy Walker)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Tue, 28 Nov 2023 21:17:21 +0000
Organization: Not very much
Lines: 43
Message-ID: <uk5ld1$e8qd$1@dont-email.me>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me>
<Nmo9N.36302$Ycdc.30963@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 28 Nov 2023 21:17:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="50f7695b4695a69573d79f1b44273b5c";
logging-data="467789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+s2w01joAIoff5IrDe1gxY"
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:v5PzNCmXQmmUJvGYq2od0wpOrQM=
Content-Language: en-GB
In-Reply-To: <Nmo9N.36302$Ycdc.30963@fx09.iad>
 by: Andy Walker - Tue, 28 Nov 2023 21:17 UTC

On 28/11/2023 16:15, Scott Lurndal wrote:
[I wrote:]
>> [...] I started with Atlas [apart from a brief go with
>> Edsac] in '66, and still have a shelf-full of snaffled m/c code, [...].
> Have you considered donating that to one of the museums (such as CHM?)

Yes, but it's not in usable form and I have no great inclination to
spend my declining years writing it up. The offer of GBP 10^6 or so might
perhaps, but probably wouldn't, change my mind. The Computer Conservation
Society already has a copy of the Atlas O/S, I believe.

Atlas was a brilliant machine, with an innovative architecture and
machine code, but the assembler [ABL] was execrable [though ingenious]. You
had to learn all the numbers for instructions; very few symbolics.

> m/c must be a British abbreviation for something...

Surely they have motor cycles in Left-Pondia? Not to be confused
with M/cr, which is Manchester; nor with mc, which is a hammer.

[Vir C:]
>>> I'm sure compiler writers still need to know the assembler stuff, but
>>> that's a small niche.
>> Even most compiler writers can get away with "compiling" into C and
>> then relying on the work of others to get that into an executable! So the
>> niche is really /very/ small.
> The folks that must learn every nook and cranny of the machine language
> are those who write processor simulators.

That must be an even smaller niche!

[...]
> Understanding the machine language is often helpful when debugging
> compiled code from higher-level languages.

Yes, but how many programmers get to worry about such things? If
a compiler produces an executable that "doesn't work", it's dealt with by
the compiler writers rather than by the "higher-level" program writers.

--
Andy Walker, Nottingham.
Andy's music pages: www.cuboid.me.uk/andy/Music
Composer of the day: www.cuboid.me.uk/andy/Music/Composers/Ravel

Re: Getting started with Assembly language

<GAy9N.87597$yvY5.24535@fx10.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8864&group=alt.folklore.computers#8864

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
Newsgroups: alt.folklore.computers
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Getting started with Assembly language
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me>
<Nmo9N.36302$Ycdc.30963@fx09.iad> <uk5ld1$e8qd$1@dont-email.me>
User-Agent: slrn/1.0.3 (Linux)
Lines: 20
Message-ID: <GAy9N.87597$yvY5.24535@fx10.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Wed, 29 Nov 2023 03:53:10 UTC
Date: Wed, 29 Nov 2023 03:53:10 GMT
X-Received-Bytes: 1873
 by: Charlie Gibbs - Wed, 29 Nov 2023 03:53 UTC

On 2023-11-28, Andy Walker <anw@cuboid.co.uk> wrote:

> On 28/11/2023 16:15, Scott Lurndal wrote:
>
>> Understanding the machine language is often helpful when debugging
>> compiled code from higher-level languages.
>
> Yes, but how many programmers get to worry about such things? If
> a compiler produces an executable that "doesn't work", it's dealt with by
> the compiler writers rather than by the "higher-level" program writers.

Sometimes. On the other hand, if you have a compiler that's generating
bad code in a program that you need yesterday, you might have to change
your code to something equivalent which compiles successfully. BTDTGTS.

--
/~\ Charlie Gibbs | The Internet is like a big city:
\ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
X I'm really at ac.dekanfrus | excitement, but also dark alleys
/ \ if you read it the right way. | down which the unwary get mugged.

Re: Getting started with Assembly language

<20231129204818.05e3146d@hotmail.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8867&group=alt.folklore.computers#8867

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rotflol2@hotmail.com (Borax Man)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 20:48:18 +1100
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <20231129204818.05e3146d@hotmail.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="a49ff5574a40c66de4b391f0c12c0cdf";
logging-data="810714"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/sjQ+didBCFvdrH2P0hBrjO6rNbDjqcGQ="
Cancel-Lock: sha1:CFNjEmAbnjVKVfM4TNHYrA4gkqQ=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu)
 by: Borax Man - Wed, 29 Nov 2023 09:48 UTC

On Mon, 27 Nov 2023 12:37:22 -0700
Peter Flass <peter_flass@yahoo.com> wrote:

> Borax Man <rotflol2@hotmail.com> wrote:
> > On Sat, 25 Nov 2023 10:30:16 -0700
> > Peter Flass <peter_flass@yahoo.com> wrote:
> >
> >> David LaRue <huey.dll@tampabay.rr.com> wrote:
> >>> Pete <pjetson@yahoo.com> wrote in news:ujsnjp$2poap$1@dont-email.me:
> >>>
> >>>> On 25/11/2023 10:32 pm, Vansh Kapoor wrote:
> >>>>> I am trying to learn/understand assembly language for 80186
> >>>>> microprocessor. what would be the best source for that.
> >>>>
> >>>> Have you tried a Google search like this:
> >>>>
> >>>> https://www.google.com/search?q=80186+assembly+language+tutorial
> >>>>
> >>>> Peter
> >>>
> >>> For any computer look at the physical layout (registers, addressing, etc.)
> >>> and available commands. Now figure out how you or others would acomplish
> >>> various goals needed in the tasks you want to accomplish. Sources like
> >>> above can offer rules to follow, but perhaps the best way to learn is to do
> >>> it yourself and find ways to accomplish your goals. There may be many ways
> >>> to accomplish the same goal. Learn to adapt to various goals. Sample
> >>> goals could be instruction count, bytes needed for the assembly language,
> >>> and assembling your own building blocks for various projects.
> >>>
> >>
> >> For any new language I usually like to start with a working sample program
> >> and then play around and make changes to it to see what’s happening.
> >>
> >> --
> >> Pete
> >
> >
> > Nothing beats having a good book. Unfortunately those targetting the
> > 16 bit intel chips are old and hard to find. Jeff Duntemann's
> > Assembly Language Step-by-step is good, but current versions are
> > targetted towards Linux.
>
> Is there anything else?
>

Hmm, I borrowed some books back in the 90s, but not sure if they are
still around. Maybe look on archive.org for assembly books, you might
find some older ones from te 80s and 90s there.

Get started with the one I linked, and then when you hit a brick wall,
go from there.

Looking at old MS-DOS software sites and old MS-DOS programming sites
may help too. Wikibooks has information, but its spread out.

Re: Getting started with Assembly language

<20231129205221.1b89c1f5@hotmail.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8868&group=alt.folklore.computers#8868

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rotflol2@hotmail.com (Borax Man)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 20:52:21 +1100
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <20231129205221.1b89c1f5@hotmail.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="a49ff5574a40c66de4b391f0c12c0cdf";
logging-data="816421"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/S2YontVqdm6fKopo0cBGMMNGg5UnvJ/g="
Cancel-Lock: sha1:YJ3dU9e1LmqtGHueewA5XiB3os0=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu)
 by: Borax Man - Wed, 29 Nov 2023 09:52 UTC

On Mon, 27 Nov 2023 12:37:22 -0700
Peter Flass <peter_flass@yahoo.com> wrote:

> Borax Man <rotflol2@hotmail.com> wrote:
> > On Sat, 25 Nov 2023 10:30:16 -0700
> > Peter Flass <peter_flass@yahoo.com> wrote:
> >
> >> David LaRue <huey.dll@tampabay.rr.com> wrote:
> >>> Pete <pjetson@yahoo.com> wrote in news:ujsnjp$2poap$1@dont-email.me:
> >>>
> >>>> On 25/11/2023 10:32 pm, Vansh Kapoor wrote:
> >>>>> I am trying to learn/understand assembly language for 80186
> >>>>> microprocessor. what would be the best source for that.
> >>>>
> >>>> Have you tried a Google search like this:
> >>>>
> >>>> https://www.google.com/search?q=80186+assembly+language+tutorial
> >>>>
> >>>> Peter
> >>>
> >>> For any computer look at the physical layout (registers, addressing, etc.)
> >>> and available commands. Now figure out how you or others would acomplish
> >>> various goals needed in the tasks you want to accomplish. Sources like
> >>> above can offer rules to follow, but perhaps the best way to learn is to do
> >>> it yourself and find ways to accomplish your goals. There may be many ways
> >>> to accomplish the same goal. Learn to adapt to various goals. Sample
> >>> goals could be instruction count, bytes needed for the assembly language,
> >>> and assembling your own building blocks for various projects.
> >>>
> >>
> >> For any new language I usually like to start with a working sample program
> >> and then play around and make changes to it to see what’s happening.
> >>
> >> --
> >> Pete
> >
> >
> > Nothing beats having a good book. Unfortunately those targetting the
> > 16 bit intel chips are old and hard to find. Jeff Duntemann's
> > Assembly Language Step-by-step is good, but current versions are
> > targetted towards Linux.
>
> Is there anything else?
>

Hmm, I borrowed some books back in the 90s, but not sure if they are
still around. Maybe look on archive.org for assembly books, you might
find some older ones from te 80s and 90s there.

Get started with the one I linked, and then when you hit a brick wall,
go from there.

Looking at old MS-DOS software sites and old MS-DOS programming sites
may help too. Wikibooks has information, but its spread out.

Re: Getting started with Assembly language

<20231129102913.d87c9ff7ba5b535495f16d59@127.0.0.1>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8869&group=alt.folklore.computers#8869

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: admin@127.0.0.1 (Kerr-Mudd, John)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 10:29:13 +0000
Organization: Dis
Lines: 66
Message-ID: <20231129102913.d87c9ff7ba5b535495f16d59@127.0.0.1>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<20231129204818.05e3146d@hotmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="c2a8206fc8671ee2d7ae163f8957c020";
logging-data="828808"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19p/uSxyH2t0S9ktOSNZ9gySshdWIXZ2UU="
Cancel-Lock: sha1:rPZq25r6df1Wg5oK5DCAAyPVj/o=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
;X-no-Archive: Maybe
GNU: Terry Pratchett
 by: Kerr-Mudd, John - Wed, 29 Nov 2023 10:29 UTC

On Wed, 29 Nov 2023 20:48:18 +1100
Borax Man <rotflol2@hotmail.com> wrote:

> On Mon, 27 Nov 2023 12:37:22 -0700
> Peter Flass <peter_flass@yahoo.com> wrote:
>
> > Borax Man <rotflol2@hotmail.com> wrote:
> > > On Sat, 25 Nov 2023 10:30:16 -0700
> > > Peter Flass <peter_flass@yahoo.com> wrote:
> > >
> > >> David LaRue <huey.dll@tampabay.rr.com> wrote:
> > >>> Pete <pjetson@yahoo.com> wrote in news:ujsnjp$2poap$1@dont-email.me:
> > >>>
> > >>>> On 25/11/2023 10:32 pm, Vansh Kapoor wrote:
> > >>>>> I am trying to learn/understand assembly language for 80186
> > >>>>> microprocessor. what would be the best source for that.
> > >>>>
> > >>>> Have you tried a Google search like this:
> > >>>>
> > >>>> https://www.google.com/search?q=80186+assembly+language+tutorial
> > >>>>
> > >>>> Peter
> > >>>
> > >>> For any computer look at the physical layout (registers, addressing, etc.)
> > >>> and available commands. Now figure out how you or others would acomplish
> > >>> various goals needed in the tasks you want to accomplish. Sources like
> > >>> above can offer rules to follow, but perhaps the best way to learn is to do
> > >>> it yourself and find ways to accomplish your goals. There may be many ways
> > >>> to accomplish the same goal. Learn to adapt to various goals. Sample
> > >>> goals could be instruction count, bytes needed for the assembly language,
> > >>> and assembling your own building blocks for various projects.
> > >>>
> > >>
> > >> For any new language I usually like to start with a working sample program
> > >> and then play around and make changes to it to see what’s happening.
> > >>
> > >> --
> > >> Pete
> > >
> > >
> > > Nothing beats having a good book. Unfortunately those targetting the
> > > 16 bit intel chips are old and hard to find. Jeff Duntemann's
> > > Assembly Language Step-by-step is good, but current versions are
> > > targetted towards Linux.
> >
> > Is there anything else?
> >
>
> Hmm, I borrowed some books back in the 90s, but not sure if they are
> still around. Maybe look on archive.org for assembly books, you might
> find some older ones from te 80s and 90s there.
>
> Get started with the one I linked, and then when you hit a brick wall,
> go from there.
>
> Looking at old MS-DOS software sites and old MS-DOS programming sites
> may help too. Wikibooks has information, but its spread out.
>
Get subscribed to alt.lang.asm, comp.lang.asm.x86 and
comp.os.msdos.progammer

(though the only asm you'll see might be my small programs/games)
PS I suggest you ignore Skybuck, he's never on-topic

--
Bah, and indeed Humbug.

Re: Getting started with Assembly language

<uk78jl$qhrk$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8870&group=alt.folklore.computers#8870

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vir.campestris@invalid.invalid (Vir Campestris)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 11:51:17 +0000
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <uk78jl$qhrk$1@dont-email.me>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me>
<Nmo9N.36302$Ycdc.30963@fx09.iad> <uk5ld1$e8qd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Nov 2023 11:51:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e4865af660804761a836d02f7f123e9c";
logging-data="870260"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QYxdsFXHR+3VwTmTyUFHCG3/XPYoGhzI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:dfhLR0/2gwMa+yEZhhxfHjZwrCs=
In-Reply-To: <uk5ld1$e8qd$1@dont-email.me>
Content-Language: en-GB
 by: Vir Campestris - Wed, 29 Nov 2023 11:51 UTC

On 28/11/2023 21:17, Andy Walker wrote:
> On 28/11/2023 16:15, Scott Lurndal wrote:
> [I wrote:]
>>> [...] I started with Atlas [apart from a brief go with
>>> Edsac] in '66, and still have a shelf-full of snaffled m/c code, [...].
>> Have you considered donating that to one of the museums (such as CHM?)
>
>     Yes, but it's not in usable form and I have no great inclination to
> spend my declining years writing it up.  The offer of GBP 10^6 or so might
> perhaps, but probably wouldn't, change my mind.  The Computer Conservation
> Society already has a copy of the Atlas O/S, I believe.
>
>     Atlas was a brilliant machine, with an innovative architecture and
> machine code, but the assembler [ABL] was execrable [though ingenious].
> You
> had to learn all the numbers for instructions;  very few symbolics.
>
>> m/c must be a British abbreviation for something...
>
>     Surely they have motor cycles in Left-Pondia?  Not to be confused
> with M/cr, which is Manchester;  nor with mc, which is a hammer.
>
> [Vir C:]

It wasn't me that wrote m/c. But I have seen it used for machine. Not
recently though I think.

>>>> I'm sure compiler writers still need to know the assembler stuff, but
>>>> that's a small niche.
>>>     Even most compiler writers can get away with "compiling" into C and
>>> then relying on the work of others to get that into an executable!
>>> So the
>>> niche is really /very/ small.
>> The folks that must learn every nook and cranny of the machine language
>> are those who write processor simulators.
>
>     That must be an even smaller niche!
>
> [...]
>> Understanding the machine language is often helpful when debugging
>> compiled code from higher-level languages.
>
>     Yes, but how many programmers get to worry about such things?  If
> a compiler produces an executable that "doesn't work", it's dealt with by
> the compiler writers rather than by the "higher-level" program writers.
>

Debugging is why I learned ARM assembly at all. Just occasionally I bump
into some code that looks reasonable, but doesn't do what it should.
That's usually because of threading, but it can be because someone got
into the Undefined Behaviour corner of the language.

Andy

Re: Getting started with Assembly language

<uk7f6v$rr6v$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8871&group=alt.folklore.computers#8871

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anw@cuboid.co.uk (Andy Walker)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 13:43:59 +0000
Organization: Not very much
Lines: 41
Message-ID: <uk7f6v$rr6v$1@dont-email.me>
References: <GAy9N.87597$yvY5.24535@fx10.iad>
<memo.20231129094452.17100a@jgd.cix.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 29 Nov 2023 13:44:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="33f5264e7bd39713ed4fc507eb8270bf";
logging-data="912607"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/67QBEz+bphxwCOyJbu4Qj"
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:+fLPM5PEQSl7Ntsi/6iohiBb7js=
In-Reply-To: <memo.20231129094452.17100a@jgd.cix.co.uk>
Content-Language: en-GB
 by: Andy Walker - Wed, 29 Nov 2023 13:43 UTC

On 29/11/2023 09:44, John Dallman wrote:
> In article <GAy9N.87597$yvY5.24535@fx10.iad>, cgibbs@kltpzyxm.invalid
> (Charlie Gibbs) wrote:
[I wrote:]
>>> Yes, but how many programmers get to worry about such things? If
>>> a compiler produces an executable that "doesn't work", it's dealt
>>> with by the compiler writers rather than by the "higher-level"
>>> program writers.
>> Sometimes. On the other hand, if you have a compiler that's
>> generating bad code in a program that you need yesterday, you
>> might have to change your code to something equivalent which
>> compiles successfully. BTDTGTS.

Well, likewise. But [normally] that's a problem of re-writing
your program [and/or perhaps, eg, switching off aggressive optimisation]
rather than delving into the generated assembler. Anything else is even
more niche than the cases described earlier.

> And if you need to report compiler bugs, being able to point to exactly
> what's wrong in the generated code means your bugs get fixed /much/
> faster.
Yes, but since the 1980s the chances are that the "generated code"
is C or similar rather than assembler. That way, a swanky new language is
instantly available on every computer with a C compiler. Only those who
are responsible for writing that initial C compiler or for maintaining
[eg] Gcc need to know assembler. Apart, that is, from the few very niche
applications of the sort discussed earlier.

[Even in the 1970s, it was becoming common, eg in the Amsterdam
Compiler Kit, to compile to an intermediate level, such as P-code, rather
than direct to some form of assembler/machine code.]

IOW, the ordinary HLL programmer has no need at all to learn much
about the hardware the program is running on. That is, surely, the whole
point of a HLL. Being interested in the hardware is a different matter,
and I certainly wouldn't want to stop the OP from learning such things.

--
Andy Walker, Nottingham.
Andy's music pages: www.cuboid.me.uk/andy/Music
Composer of the day: www.cuboid.me.uk/andy/Music/Composers/Soler

Re: Getting started with Assembly language

<1qkym54.wuux6011chwxyN%snipeco.2@gmail.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8873&group=alt.folklore.computers#8873

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!snipe.eternal-september.org!.POSTED!not-for-mail
From: snipeco.2@gmail.com (Sn!pe)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 13:58:33 +0000
Organization: Sn!peCo World Wide Wading Birds
Lines: 38
Message-ID: <1qkym54.wuux6011chwxyN%snipeco.2@gmail.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <ujsnjp$2poap$1@dont-email.me> <XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170> <282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org> <20231126092837.19be4f27@hotmail.com> <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org> <uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me> <Nmo9N.36302$Ycdc.30963@fx09.iad> <uk5ld1$e8qd$1@dont-email.me> <uk78jl$qhrk$1@dont-email.me>
Reply-To: snipeco.1@gmail.com (Sn!pe)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: snipe.eternal-september.org; posting-host="059bc641ae0c1b8de836ed889291d0ee";
logging-data="918987"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/D60HjHj+Gprm4lyxt7r4a"
User-Agent: MacSOUP/2.8.6b1 (ed136d9b90) (Mac OS 10.13.6)
Cancel-Lock: sha1:LGwpo1SzPi70eSPqBysTaAiDWv0=
X-Face: 5<x+vv{"AHN,F~/dhf,X*~1zNv[TF/WUe(Uw.*ZOw\P'Ju]C6].T~7Z5cVjV\xTO6&)1#VQ
iZ4vFDG
X-Disclaimer: Any advice that I may give is worth only what I paid for it.
This article comprises only my personal opinions unless otherwise stated.
May contain traces of nuts.
X-Clacks-Overhead: GNU Terry Pratchett; WonK; Large Enid
X-Tongue-In-Cheek: Always
X-Copyright: Copyright (c) 2023 Sn!peCo WWWB, All Rights Reserved.
This article may be reproduced for the purposes of propagation and
personal use only, no commercial use without express permission.
X-Validate: All genuine Sn!peCo articles contain the header:
"Injection-Info: snipe.eternal-september.org;" my registered FQDN.
 by: Sn!pe - Wed, 29 Nov 2023 13:58 UTC

Vir Campestris <vir.campestris@invalid.invalid> wrote:

> On 28/11/2023 21:17, Andy Walker wrote:
> > On 28/11/2023 16:15, Scott Lurndal wrote:
> > [I wrote:]
> >>> [...] I started with Atlas [apart from a brief go with
> >>> Edsac] in '66, and still have a shelf-full of snaffled m/c code, [...].
> >> Have you considered donating that to one of the museums (such as CHM?)
> >
> > Yes, but it's not in usable form and I have no great inclination to
> > spend my declining years writing it up. The offer of GBP 10^6 or so
> > might perhaps, but probably wouldn't, change my mind. The Computer
> > Conservation Society already has a copy of the Atlas O/S, I believe.
> >
> > Atlas was a brilliant machine, with an innovative architecture and
> > machine code, but the assembler [ABL] was execrable [though ingenious].
> > You had to learn all the numbers for instructions; very few symbolics.
> >
> >> m/c must be a British abbreviation for something...
> >
> > Surely they have motor cycles in Left-Pondia? Not to be confused
> > with M/cr, which is Manchester; nor with mc, which is a hammer.
> >
> > [Vir C:]
>
> It wasn't me that wrote m/c. But I have seen it used for machine. Not
> recently though I think.

[...]

'm/c' for 'machine' was standard usage in the late '60s - early '70s;
I was a hardware man fixing 2nd. gen. mainframes when they went t/u.

--
^Ï^. Sn!pe, PA, FIBS - Professional Crastinator.
My pet rock Gordon just is.

Google Groups articles not seen here unless poster is whitelisted.

Re: Getting started with Assembly language

<06I9N.30145$%p%e.19385@fx43.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8874&group=alt.folklore.computers#8874

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx43.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Getting started with Assembly language
Newsgroups: alt.folklore.computers
References: <GAy9N.87597$yvY5.24535@fx10.iad> <memo.20231129094452.17100a@jgd.cix.co.uk>
Lines: 21
Message-ID: <06I9N.30145$%p%e.19385@fx43.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 29 Nov 2023 14:43:08 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 29 Nov 2023 14:43:08 GMT
X-Received-Bytes: 1609
 by: Scott Lurndal - Wed, 29 Nov 2023 14:43 UTC

jgd@cix.co.uk (John Dallman) writes:
>In article <GAy9N.87597$yvY5.24535@fx10.iad>, cgibbs@kltpzyxm.invalid
>(Charlie Gibbs) wrote:
>> On 2023-11-28, Andy Walker <anw@cuboid.co.uk> wrote:
>> > Yes, but how many programmers get to worry about such things? If
>> > a compiler produces an executable that "doesn't work", it's dealt
>> > with by the compiler writers rather than by the "higher-level"
>> > program writers.
>>
>> Sometimes. On the other hand, if you have a compiler that's
>> generating bad code in a program that you need yesterday, you
>> might have to change your code to something equivalent which
>> compiles successfully. BTDTGTS.
>
>And if you need to report compiler bugs, being able to point to exactly
>what's wrong in the generated code means your bugs get fixed /much/
>faster.

And it may not even be a compiler bug, but a simple programming
error. Stepping through the generated assembler with a debugger
can be quite useful.

Re: Getting started with Assembly language

<cdI9N.30146$%p%e.5369@fx43.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8875&group=alt.folklore.computers#8875

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx43.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Getting started with Assembly language
Newsgroups: alt.folklore.computers
References: <GAy9N.87597$yvY5.24535@fx10.iad> <memo.20231129094452.17100a@jgd.cix.co.uk> <uk7f6v$rr6v$1@dont-email.me>
Lines: 51
Message-ID: <cdI9N.30146$%p%e.5369@fx43.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 29 Nov 2023 14:50:48 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 29 Nov 2023 14:50:48 GMT
X-Received-Bytes: 3133
 by: Scott Lurndal - Wed, 29 Nov 2023 14:50 UTC

Andy Walker <anw@cuboid.co.uk> writes:
>On 29/11/2023 09:44, John Dallman wrote:
>> In article <GAy9N.87597$yvY5.24535@fx10.iad>, cgibbs@kltpzyxm.invalid
>> (Charlie Gibbs) wrote:
>[I wrote:]
>>>> Yes, but how many programmers get to worry about such things? If
>>>> a compiler produces an executable that "doesn't work", it's dealt
>>>> with by the compiler writers rather than by the "higher-level"
>>>> program writers.
>>> Sometimes. On the other hand, if you have a compiler that's
>>> generating bad code in a program that you need yesterday, you
>>> might have to change your code to something equivalent which
>>> compiles successfully. BTDTGTS.
>
> Well, likewise. But [normally] that's a problem of re-writing
>your program [and/or perhaps, eg, switching off aggressive optimisation]
>rather than delving into the generated assembler. Anything else is even
>more niche than the cases described earlier.

It's much quicker, particularly in a very large application, to
either debug post failure (e.g. SIGSEGV) with a good debugger
in which case knowing the assembler is useful, or to set a breakpoint
and step through the instruction sequence to see exactly what is
happening. I've done this many times over the last four decades
on systems from mainframes to microcontrollers. Most recently,
this morning to debug a SIGSEGV in a C++ application.

>
>> And if you need to report compiler bugs, being able to point to exactly
>> what's wrong in the generated code means your bugs get fixed /much/
>> faster.
> Yes, but since the 1980s the chances are that the "generated code"
>is C or similar rather than assembler.

I absolutely disagree with this statement. I haven't used a compiler
that generates C since C++2.1/3.0 in the early 1990's. I'm not aware of
any modern compiler (from Ada to Python) that generates intermediate
C code.

And as someone who has extensive experience debugging cfront (the
original C++ compiler which generated C), the resulting C code
is completely unreadable and hardly useful for debugging application
code. I had to debug a register allocation issue with the underlying
C compiler used to compile the output from cfront once, and the
internal expression tree for the failed expression had five levels
with dozens of terms. The issue was that the C compiler (for the
motorola 88100, based on PCC) ran out of temporary registers when generating
code for the expression.

Re: Getting started with Assembly language

<ksp3huFoiiaU3@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8876&group=alt.folklore.computers#8876

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0009@eager.cx (Bob Eager)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: 29 Nov 2023 15:26:54 GMT
Lines: 13
Message-ID: <ksp3huFoiiaU3@mid.individual.net>
References: <GAy9N.87597$yvY5.24535@fx10.iad>
<memo.20231129094452.17100a@jgd.cix.co.uk> <uk7f6v$rr6v$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net KRyerQs2O+nPUTUuR6ls9QbGfRpsxGJ5aGX9YbZbzhxv2raW2X
Cancel-Lock: sha1:QuGDk/jLx2cAsJbcvl5esgNU6zI= sha256:SujVanRuH0+Y7fhuktZtHBHjST/nLbCPosOPf66TBK8=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Wed, 29 Nov 2023 15:26 UTC

On Wed, 29 Nov 2023 13:43:59 +0000, Andy Walker wrote:

> [Even in the 1970s, it was becoming common, eg in the Amsterdam
> Compiler Kit, to compile to an intermediate level, such as P-code,
> rather than direct to some form of assembler/machine code.]

In the mid 1960s, the BCPL compiler, and OCODE.

--
Using UNIX since v6 (1975)...

Use the BIG mirror service in the UK:
http://www.mirrorservice.org

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor