From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,7715831164a36423 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: =?iso-8859-1?q?M=E5ns_Rullg=E5rd?= Newsgroups: comp.os.linux.alpha Subject: Re: Alpha Users UNITE!!! Date: Sat, 04 Jun 2005 22:07:06 +0200 Message-ID: References: <8c3oe.12389$uR4.11928@newsread2.news.atl.earthlink.net> <7U4oe.12440$uR4.10081@newsread2.news.atl.earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net PxyXJnw17jo1TFVcMZtTMgDAxYxJDLVE2vRAlx3Fy59Sk9D9qJ User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:F7Tynej2nR7a1FhpbWa/x3bTko4= Xref: g2news1.google.com comp.os.linux.alpha:965 "Brandon J. Van Every" writes: > M�ns Rullg�rd wrote: > >>"Brandon J. Van Every" writes: >> >>> As an ex-DECcie who was >>>quite skilled at Alpha ASM, I'm very sad that my favorite processor >>>bit the commercial dust. I'm still waiting for industry to catch up >>>to what we were doing with 64-bit in 1998 when I quit my job. >> >>Yes, Alpha assembler makes everything else look like a sendmail >>configuration file. >> > Is there any money in Alpha ASM anywhere anymore? I wouldn't mind > dusting off a legacy skill for some $$$$$. I doubt it. However, if you want a challenge, here's one. Optimize this bit of assembler for size. It can be assembled and linked to a functioning, but not very useful, program. lda $16, 1($31) br $17, 8 .quad 0x0101010101010101 ldq $4, 0($17) zapnot $4, 0x80, $3 mulq $4, 0x30, $9 mulq $4, 0xa, $5 lda $2, 0($31) lda $18, 8($31) lda $1, 0x14($31) 1: lda $0, 4($31) addq $2, $9, $10 stq $10, 0($17) callsys addq $2, $3, $2 2: cmpbge $2, $5, $6 beq $6, 3f srl $6, 1, $7 zapnot $4, $7, $8 addq $2, $8, $2 zap $2, $6, $2 br 2b 3: lda $1, -1($1) bne $1, 1b lda $0, 1($31) callsys -- M�ns Rullg�rd mru@inprovide.com