In computing, the SEX assembly language mnemonic has often been used for the "
Sign EXtend" machine instruction found in the Motorola 6809. A computer's or CPU's "sex" can also mean the endianness of the computer architecture used. x86 computers do not have the same "byte sex", as HC11 computers, for example. Functions are sometimes needed for computers of different endianness to communicate with each other over the internet, as protocols often use big endian byte coding by default.
On the RCA 1802 series of microprocessors, the SEX, for "
SEt X," instruction is used to designate which of the machine's sixteen 16-bit registers is to be the X (index) register.
SEX in software: rarely used jargon
The TLA SEX has humorously been said to stand for Software EXchange, meaning copying of software. As file sharing has sometimes spread computer viruses, it has been stated that “illicit SEX can transmit viral diseases to your computer.” The involvement of FTP servers' /pub directories in this process has led to the name being explained as a contraction of 'pubic'.
- For hardware, the Jargon File also reports the less common expression byte sex . It is unclear whether this terminology is also used when more than two orderings are possible. Similarly, the manual for the ORCA/M assembler refers to a field indicating the order of the bytes in a number field as
NUMSEX, and the Mac OS X operating system refers to "byte sex" in its compiler tools .
- The Jargon file
- htons(), htonl(), ntohs(), ntohl()
- The NUXI problem
- Raymond, Eric, The Jargon File: pubic directory, retrieved 2009-03-28
This article is based in part on the Jargon File, which is in the public domain.