| General > General Technical Chat |
| How to pronounce XOR...really? |
| << < (7/13) > >> |
| GlennSprigg:
--- Quote from: TimFox on March 02, 2021, 04:53:29 pm ---No. “Z” is never pronounced as “eks”. “Thou whoreson zed, thou unnecessary letter”. (King Lear, Act 2, Scene 2). By the way, I always say “ex or” since it is unambiguous. --- End quote --- Obviously though, the 'X' is an abbreviation for the word 'Exclusive', meaning it must be 'OR' :) |
| MIS42N:
I don't think I have ever heard someone say xor. If discussed, IIRC they say 'exclusive or'. Not that it is a common discussion. Such a useful instruction. Exchange a register with a memory location XOR A,B XOR B,A XOR A,B. Or two buffers at location A and B, move the pointer between them. First Mask = XOR A,B. start with pointer=A, To flip Pointer=Pointer XOR Mask. Useful for a string of compare equal on processors that don't have a compare (e.g PIC 8-bit) using Z for result but not disturbing C (add or subtract works too, but unnecessarily alters C in the process). Out of curiosity, I looked at the last program I wrote. More than 50 XORs. A rose by any (other) name is just as sweet. |
| JohnnyMalaria:
XOR has an interest property particular when applied to images. If you XOR image A with image B and then XOR the result with image B you get back to image A. This was a useful trick in my ZX Spectrum days for some long forgotten reason. |
| fourfathom:
--- Quote from: JohnnyMalaria on March 04, 2021, 12:54:51 am ---XOR has an interest property particular when applied to images. If you XOR image A with image B and then XOR the result with image B you get back to image A. This was a useful trick in my ZX Spectrum days for some long forgotten reason. --- End quote --- Back in 1976 someone had a patent on the XOR video display cursor. And as for people saying "exclusive or" instead of XOR, in the olden days ('70's - 90's) we hardware guys said XOR. We tried like hell to save gates, so why not save syllables? |
| helius:
--- Quote from: JohnnyMalaria on March 02, 2021, 10:17:41 pm ---That's a neat trick for a donkey. --- End quote --- The PowerPC instruction set architecture has eieio ;"Enforce In-order Execution of I/O" Supply your own animal sounds. |
| Navigation |
| Message Index |
| Next page |
| Previous page |