[Coco] Linville's ramblings on assembly vs machine code
Gene Heskett
gheskett at shentel.net
Mon Jul 10 21:03:30 EDT 2017
On Monday 10 July 2017 20:45:06 Mark McDougall wrote:
> On 11/07/2017 10:04 AM, Gene Heskett wrote:
> > I've seen quite a few disparaging remarks about self-modifying code
> > pass by in this thread. Sloppy coding WILL bite you in the butt, so
> > I got to tell you there is not a thing wrong with it if you have a
> > good grip on what it is you are doing.
>
> Wringing performance out of a routine is another good example where
> self-modifying code can be justified. Unrolling a loop and then
> jumping into the code at the right point can save precious cycles on
> testing and branching each iteration.
>
> > The best one can say of it was
> > that it "Just Worked", for 17 years that I know of. That was what
> > I intended for it to do, Just Work.
>
> Only 17 years Gene? Pfft, barely enough time for each execution path
> to be exercised! :P
>
> Regards,
>
Chuckle. Good thing you're halfway around this planet from me, Mark.
Otherwise we might have to find a back porch with dark sky's & maybe
share a 6 pack. I'm sure we both have enough war stories to keep each
other entertained for the evening.
> --
> Mark McDougall
> <http://retroports.blogspot.com.au>
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
More information about the Coco
mailing list