Re: Sort of Gray code to binary converter



John Larkin <jjlarkin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
<PIC-code>
>Good grief, what an instruction set! How do you pronounce "btfsc" or
>"xorlw"?

Although the PIC origins go back into the 1970s, it does not mean that newer CPUs
have better opcodes...

The MAC-instructions of the PPC: About 40 in all combinations from halfword/word,
(un)signed, (un)saturated, overflow en/disabled and so on. So it should be clear
what the difference between "maclhwsuo" and "machhwso" is...

PS:Ah, wait, I've forgot another 20 "negative MAC" variants like nmachhwso:
"Negative Multiply Accumulate High Halfword to Word Saturate Signed with Overflow"

;-)

--
Georg Acher, acher@xxxxxxxxx
http://www.lrr.in.tum.de/~acher
"Oh no, not again !" The bowl of petunias
.