🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #623301

Re: Quantity of machine code programmers and quantity of Assembly programmers

#623301
From: Jon Elson
Date: Sat, 28 Apr 2018 19:14
33 lines
3637 bytes
hanc...@bbs.cpcn.com wrote:

> On Saturday, April 28, 2018 at 5:37:31 AM UTC-4, Andy Leighton wrote:
> 
>> Yeah but if you were familiar with 68000 assembly language then moving to
>> the 8086/88 (or successors) was painful.
> 
> Was it a problem to move from S/360 assembler to x86 assembler?
Likely.  The only thing old school on the 360 was it didn't implement 
stacks, and the OS and programming tools didn't generally push you in that 
direction.

The 360 had a really advanced instruction set for the time it was invented, 
which was about 1963.  A very orthogonal arrangement, no different classes 
of registers (most earlier machines had index registers and accumulators, 
and they were for entirely different purposes.)  The subroutine calling 
convention was a little old-school, the return address was placed (by 
convention) in register 14.  If you then called another subroutine without 
saving R14, you had no way back.  This often led to an infinite loop.  
Probably more CPU time was wasted with this mistake than all others 
combined.

The 360 had register to register operations, indexed storage to register, 
and storage to storage.  The indexed storage form had a base register which 
pointed to the beginning of your memory partition, an index register, and a 
12-bit offset in the instruction field.  This was VERY convenient for data 
structure operations (like the C construct struct).  The base register made 
it possible to have fully relocatable object programs, but once a program 
began to execute, it would save physical addresses (subroutine return 
locations and pointers to data) and so could not be moved to a different 
place in memory.

Jon
Technical Details
Message-ID: <goCdnZIo4qGfVXnHnZ2dnUU7-ffNnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!15-v6ni1744itg.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <53f26ebb-9b58-4177-a7c6-6cb3e565c375@googlegroups.com> <pbtof6$sm2$1@dont-email.me> <pbvatm$1ie4$1@gioia.aioe.org> <pbvbrg$ee1$1@dont-email.me> <pbvqb7$211t$1@gal.iecc.com> <slrnpe8g6q.tks.andyl@azaal.plus.com> <aab6416b-3e01-4e6e-836a-de6ba319749b@googlegroups.com>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a6b:aa9e:: with SMTP id g30-v6mr3483271ioj.109.1524942856643;        Sat, 28 Apr 2018 12:14:16 -0700 (PDT)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 2002:a6b:868b:: with SMTP id q11-v6ls793456ioi.13.gmail; Sat, 28 Apr 2018 12:14:16 -0700 (PDT)
X-Received: by 2002:a6b:b503:: with SMTP id e3-v6mr3681939iof.101.1524942856082;        Sat, 28 Apr 2018 12:14:16 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!15-v6ni1744itg.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 28 Apr 2018 14:14:10 -0500
From: Jon Elson <el...@pico-systems.com>
Reply-To: el...@pico-systems.com
Organization: Pico Systems
Date: Sat, 28 Apr 2018 14:14:10 -0500
User-Agent: KNode/4.8.5
Subject: Re: Quantity of machine code programmers and quantity of Assembly programmers
Newsgroups: alt.folklore.computers
References: <53f26ebb-9b58-4177-a7c6-6cb3e565c375@googlegroups.com> <pbtof6$sm2$1@dont-email.me> <pbvatm$1ie4$1@gioia.aioe.org> <pbvbrg$ee1$1@dont-email.me> <pbvqb7$211t$1@gal.iecc.com> <slrnpe8g6q.tks.andyl@azaal.plus.com> <aab6416b-3e01-4e6e-836a-de6ba319749b@googlegroups.com>
MIME-Version: 1.0
Message-ID: <goCdnZIo4qGfVXnHnZ2dnUU7-ffNnZ2d@giganews.com>
Lines: 33
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-d0fxd020VkoQjK944W4igmpl5owRM9+F2o56XkB7kP+AqF8LprDXDKX/rJk+I5+iM2dxHiICU9Iycgb!NVeWfZmookqww9SkhKSVI7HI58j7upWGZcI/vex6SFFoT8G9C7UqvCs01g7nMika7UI6iE/y
X-Complaints-To: ab...@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 3168
X-Original-Bytes: 3075
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit