Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!cbmehq!cbmdeo!adspdk!hclausen From: hclausen@adspdk.UUCP (Henrik Clausen) Newsgroups: comp.sys.amiga.tech Subject: Re: Assembler Programming - Costs versus Benefits Message-ID: <18574883.ARN11d9@adspdk.UUCP> Date: 10 Dec 90 12:02:59 GMT References: <1990Nov25.040121.10773@zorch.SF-Bay.ORG> <1990Nov27.004859.16630@cs.umu.se> <7150@sugar.hackercorp.com> <184a3cc5.ARN04295@adspdk.UUCP> <194@cbmcel.UUCP> Reply-To: hclausen@adspdk.UUCP Followup-To: comp.sys.amiga.tech Organization: Graffiti Data Lines: 33 In article <194@cbmcel.UUCP>, Martin S. Stoller writes: > In article <184a3cc5.ARN04295@adspdk.UUCP> hclausen@adspdk.UUCP writes: > >In article , 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. -Henrik ______________________________________________________________________________ | Henrik Clausen, Graffiti Data | If the Doors of Perception where cleansed, | | ...{pyramid|rutgers}!cbmvax! | Man would see Reality as it is - Infinite. | \______cbmehq!adspdk!hclausen___|_________________________________W. Blake___/