ILLEGAL OPCODE

Illegal Opcode Red Screen HP Server Red Screen HP Red Screen 6502 Opcode What Is Opcode Opcode Assembly




Cloud:

| Illegal Opcode Red Screen | HP Server Red Screen | HP Red Screen | 6502 Opcode | What Is Opcode | Opcode Assembly |

| Illegal_opcode | MOS_Technology_6502 | Apple_IIc | Zilog_Z80 | Opcode | Macintosh_Toolbox | Jazelle | HP_64000 | Undocumented_feature | Programmable_logic_array | Little_Red_Hood | Apple_IIe | Atari_Flashback | Time_Stamp_Counter | IDEDOS | C64_Direct-to-TV | Atari_Coldfire_Project | Blue_Screen_of_Death | PIC_microcontroller | Software_cracking |



[ Link Deletion Request ]

illegal opcode hp vmware illegal opcode r3000 executed illegal opcode red hat illegal opcode illegal opcode exception red screen illegal opcode illegal opcode psx emulator



Illegal opcode


An illegal opcode, also called an undocumented instruction, is an instruction to a CPU that is not mentioned in any official documentation released by the CPU's designer or manufacturer, which nevertheless has an effect. Illegal opcodes were common on older CPUs designed during the 1970s, such as the MOS Technology 6502, Intel 8086, and the Zilog Z80. They exist as a side effect of the wiring of transistors in the CPU, and usually combine functions of the CPU that were not intended to be combined.

While most illegal instructions have useless or even highly undesirable effects (such as crashing the computer), a few might by accident do something that can be useful in certain situations. Such instructions were sometimes exploited in computer games of the 1970s and 1980s to speed up certain time-critical sections. Another common use of them was in the ongoing battle between copy protection implementations and cracking. Here, they were a form of security through obscurity, and their secrecy usually did not last very long.

A danger associated with the use of illegal instructions was that, given the fact that the manufacturer did not guarantee their existence and function, they might disappear or behave differently with any change of the CPU internals or any new revision of the CPU, rendering programs that use them incompatible with the newer revisions. For example, a number of older Apple II games do not work correctly on the newer Apple IIc, because the latter uses a newer CPU revision — 65C02 — that does away with illegal opcodes.

More recent CPUs, such as the 80186, 80286, 68000 and its descendants or the PowerPC processor, usually do not have illegal opcodes. Their manufacturers guarantee that the CPU will behave in a well-defined way when it finds an unknown opcode in the instruction stream: usually, this means triggering a certain exception or fault condition. The operating system's exception or fault handler will then usually terminate the application that caused the fault. Another, less common way of handling illegal instructions is by defining them to do nothing except taking up time and space (equivalent to the CPU's official NOP instruction); this method is used by the TMS9900 and 65C02 processor, among others.

Today, the details of these instructions are mainly of interest for exact emulation of older systems.


Illegal opcode See also



Illegal opcode References




Illegal Opcode Red Screen HP Server Red Screen HP Red Screen 6502 Opcode What Is Opcode Opcode Assembly

| Illegal Opcode Red Screen | HP Server Red Screen | HP Red Screen | 6502 Opcode | What Is Opcode | Opcode Assembly | Illegal_opcode | MOS_Technology_6502 | Apple_IIc | Zilog_Z80 | Opcode | Macintosh_Toolbox | Jazelle | HP_64000 | Undocumented_feature | Programmable_logic_array | Little_Red_Hood | Apple_IIe | Atari_Flashback | Time_Stamp_Counter | IDEDOS | C64_Direct-to-TV | Atari_Coldfire_Project | Blue_Screen_of_Death | PIC_microcontroller | Software_cracking

Copyright:
Dieser Artikel basiert auf dem Artikel http://en.wikipedia.org/wiki/Illegal_opcode aus der freien Enzyklopaedie http://en.wikipedia.org bzw. http://www.wikipedia.org und steht unter der Doppellizenz GNU-Lizenz fuer freie Dokumentation und Creative Commons CC-BY-SA 3.0 Unported. In der Wikipedia ist eine Liste der Autoren unter http://en.wikipedia.org/w/index.php?title=Illegal_opcode&action=history verfuegbar. Alle Angaben ohne Gewähr.

Dieser Artikel enthält u.U. Inhalte aus dmoz.org : Help build the largest human-edited directory on the web. Suggest a Site - Open Directory Project - Become an Editor






Search: deutsch english español français русский

| deutsch | english | español | français | русский |




[ Privacy Policy ] [ Link Deletion Request ] [ Imprint ]