| Operation: | Undefined Instruction |
| Function: | Undefined |
| Syntax: | ??? |
| Instructions | OpCode | Bytes | Cycles | Flags |
| ??? | 0xA5 | 1 | 1 | C |
Description: The "Undefined" instruction is, as the name suggests, not a documented instruction. The
8051 supports 255 instructions and OpCode 0xA5 is the single OpCode that is not used by any documented function.
Since it is not documented nor defined it is not recommended that it be executed. However, based on my research,
executing this undefined instruction takes 1 machine cycle and appears to have no effect on the system except
that the Carry Bit always seems to be set.
Note: We received input from an 8052.com user that the undefined instruction
really has a format of Undefined bit1,bit2 and effectively copies the
value of bit2 to bit1. In this case, it would be a three-byte instruction.
We haven't had an opportunity to verify or disprove this report, so we present
it to the world as "additional information."
See Also: NOP,
Instruction Set
(C) Copyright 1997 - 2008 by Vault Information Services LLC. All Rights Reserved.
Information provided "as-is" without warranty. Please see details.
Contact us for usage and copy permission.
|