death code n.
A routine whose job is to set everything in
the computer -- registers, memory, flags, everything -- to zero,
including that portion of memory where it is running; its last act
is to stomp on its own "store zero" instruction. Death code
isn't very useful, but writing it is an interesting hacking
challenge on architectures where the instruction set makes it
possible, such as the PDP-8 (it has also been done on the DG Nova).
Perhaps the ultimate death code is on the TI 990 series, where all
registers are actually in RAM, and the instruction "store
immediate 0" has the opcode "0". The PC will immediately wrap
around core as many times as it can until a user hits HALT. Any
empty memory location is death code. Worse, the manufacturer
recommended use of this instruction in startup code (which would be
in ROM and therefore survive).
A routine whose job is to set everything in
the computer -- registers, memory, flags, everything -- to zero,
including that portion of memory where it is running; its last act
is to stomp on its own "store zero" instruction. Death code
isn't very useful, but writing it is an interesting hacking
challenge on architectures where the instruction set makes it
possible, such as the PDP-8 (it has also been done on the DG Nova).
Perhaps the ultimate death code is on the TI 990 series, where all
registers are actually in RAM, and the instruction "store
immediate 0" has the opcode "0". The PC will immediately wrap
around core as many times as it can until a user hits HALT. Any
empty memory location is death code. Worse, the manufacturer
recommended use of this instruction in startup code (which would be
in ROM and therefore survive).
Related:
- death code: n. A routine whose job is to set everything in the
computer -
registers, memory, flags, everything -- to zero, ... - hot spot: n. 1. [primarily used by C/UNIX programmers,
but spreading] It is received wisdom that in most... - hot spot n.
1. [primarily used by C/Unix programmers,
but spreading] It is received wisdom that in most... - bit bucket n.
[very common] 1. The universal data sink
(originally,
the mythical receptacle used to catch bits when they... - orthogonal: [from mathematics] adj. Mutually independent;
well separated; sometimes, irrelevant to. Used... - orthogonal adj.
[from mathematics] Mutually independent;
well separated; sometimes, irrelevant to. Used in... - Introducing, the 1010, a one-bit processor.
INSTRUCTION SET Code Mnemonic What 0 NOP No Operation... - one-liner wars: n. A game popular among hackers who code in the
language APL (see {write-only language} and {line noise}).
The objective is to see who can code the most interesting... - vaxocentrism /vak`soh-sen'trizm/ n.
[analogy with
`ethnocentrism'] A notional disease said to afflict C programmers
who persist in coding according to certain assumptions that are
valid (esp.
under Unix) on VAXen but false elsewhere. Among ...
