Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!news.cs.indiana.edu!news.nd.edu!mentor.cc.purdue.edu!noose.ecn.purdue.edu!en.ecn.purdue.edu!longshot From: longshot@en.ecn.purdue.edu (Without Reason) Newsgroups: comp.unix.questions Subject: Re: Need Assembly lang. to learn C? Message-ID: <1991May24.122828.15081@en.ecn.purdue.edu> Date: 24 May 91 12:28:28 GMT References: <1991May22.094917.28322@rodan.acs.syr.edu> <4407@inews.intel.com> Organization: Purdue University Engineering Computer Network Lines: 29 In article <4407@inews.intel.com> bhoughto@pima.intel.com (Blair P. Houghton) writes: >In article <1991May22.094917.28322@rodan.acs.syr.edu> ldstern@rodan.acs.syr.edu (Larry Stern) writes: >>least a working knowledge of Assembly will help produce a better understanding >>of the C language and tighter C code. > >I've had it. > >Please, please, please, once you've learned assembler and >the inner workings of a computer, please, please, please, >forget all of it and don't even try to mimic it in your >C code. > [Stuff about assembly now knowing what the machine is doing deleted] I've taken a class where we started out in assembly and then moved into C. I would have to say that it helped a lot. Knowing Assembly did not seem to have a great affect, but it did help in understanding what your code did compared to what you expected it to do. There is often a big difference. In my opinion, Assembly will not help you learn C, but can help you understand what your programs do. Plus, it can help a lot in debugging... --longshot -- longshot@ecn.purdue.edu (Rich Long) To be "remembered with an affection and veneration that shall surge high above the waters of oblivion and glisten through the rust of time."