Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site mit-vax.UUCP Path: utzoo!linus!decvax!genrad!mit-eddie!mit-vax!csdf From: csdf@mit-vax.UUCP (Charles Forsythe) Newsgroups: net.bizarre Subject: Re: Bizarre Code Message-ID: <638@mit-vax.UUCP> Date: Thu, 15-Aug-85 20:01:00 EDT Article-I.D.: mit-vax.638 Posted: Thu Aug 15 20:01:00 1985 Date-Received: Tue, 20-Aug-85 00:00:50 EDT References: <462@moncol.UUCP> Reply-To: csdf@mit-vax.UUCP (Charles Forsythe) Organization: MIT, Cambridge, MA Lines: 24 Summary: In article <462@moncol.UUCP> john@moncol.UUCP (John Ruschmeyer) writes: >What is the most bizarre line/piece of code you have seen in a production >program? 6809 assembly language program: . . . LDB ,X+ ;get value from table --> SEX ;sign extend b into d --> BRA STRAP ;skip over next section . . . Well, I thought it was wierd. -- Charles Forsythe CSDF@MIT-VAX "Live on time. Emit no evil. Wait! I got that backwards!" -Rev. Wang Zeep