🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7402

Re: Assembler Programming - Costs versus Benefits

#7402
From: Larry Phillips
Date: Tue, 11 Dec 1990 19:34
42 lines
2491 bytes
In <18574883.ARN11d9@adspdk.UUCP>, hclausen@adspdk.UUCP (Henrik Clausen) writes:
>In article <194@cbmcel.UUCP>, Martin S. Stoller writes:
>
>> In article <184a3cc5.ARN04295@adspdk.UUCP> hclausen@adspdk.UUCP writes:
>> >In article <CEDMAN.90Nov28142350@lynx.ps.uci.edu>, Carl Edman writes:
>> >
>> >   An Asm programmer has to know about bits, registers, offsets etc. that a
>> >C programmer wouldn't bother about. 
>>
>> If a C programmer knows nothing about bits, registers, offsets, vectors,
>> etc... THEN SHE/HE IS NOT A C PROGRAMMER!!!  There are many simple
>> and easy ways in C to play with bits, like >> and << and ~ and & and |
>> and stuff like that.
>
>   Now, that's quite a different matter. I do know all about binary
>aritmetics, bitfields etc., and how to use this for speed.
>
>   What I don't know, and don't want to know, are the exact locations and
>functions of Agnus, Denise & Paula registers, CPU status registers etc.,
>nor do I take much interest in the particular CPU I'm running on, as long
>as it doesn't force me to do nasty things, like the older Intel CPU's did.
>
>> How do you think I can programm a library, with proper
>> function calls, which will make sence to the system???  And I very well
>> know what a REGISTER is; after all, it IS a C keyword :^).
>
>   I stated above that the Asm programmer needs to know LOTS more details
>than the C programmer does, and that's the fact.

You seem to be implying that the assembler programmer needs to know the details
of things like the exact locations of Agnus, Denise, and Paula registers.  If
this is indeed your contention, you are flat wrong.

-larry

--
The only things to survive a nuclear war will be cockroaches and IBM PCs.
+-----------------------------------------------------------------------+ 
|   //   Larry Phillips                                                 |
| \X/    lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips |
|        COMPUSERVE: 76703,4322  -or-  76703.4322@compuserve.com        |
+-----------------------------------------------------------------------+
Technical Details
Message-ID: <2398@lpami.wimsey.bc.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!van-bc!

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!van-bc!
From: lphillips@lpami.wimsey.bc.ca (Larry Phillips)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Assembler Programming - Costs versus Benefits
Message-ID: <2398@lpami.wimsey.bc.ca>
Date: 11 Dec 90 19:34:13 GMT
Lines: 42
Return-Path: <lpami!lphillips>
To: van-bc!rnews