George, I appreciate the sentiment you expressed. I frequently write illustrattive examples on-the-fly that encapsulate the concepts that want to explain. Such examples often look simple but non-trivial. My experience in training has been that is that those who understood from the example move on very quickly. The ideal is that these people are able to extend it to meet their particular requirements. However there are those who will keep going back to the same example over and over again well past its half-life. Although ducationists and psychologists have lots of theories about this kind of behaviour, I usually look at this simplistically as a problem with the level at which the example was pitched at. Solution? Break it down to smaller components and may be add a textual explanation rather than letting the code speak for itself. If there are enough people interested in textual commentary of my example, and perhaps on finer things that come out nicely in this example relating to how GCC optimises the inline assember code in the way we want it to, I am happy to oblige. Regards, Jaya --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." <ggallant571@...> wrote: > > How to start a flame war by Brendan Murphy. > > I switch between C/Assembler because it fits my current needs. End of > discussion!!! > > George > > On Tue, 2006-04-11 at 14:56 +0000, brendanmurphy37 wrote: > > > --- In lpc2000@yahoogroups.com, "jayasooriah" <jayasooriah@> wrote: > > > > > > I am happy to consider real examples, past or present, which I hope > > > will make it easier to illustrate the points I have raised. > > > > > > Jaya > > > > > > > Maybe you could consider the issues I raised about your own example > > in: > > > > http://groups.yahoo.com/group/lpc2000/message/15225 > > > > I'm sure everyone would welcome your input. > > > > Brendan
Message
Re: Example of C and inline ASM in a file?
2006-04-12 by jayasooriah
Attachments
- No local attachments were found for this message.