A5
Library.A5 · r1.1 · · blundar
A5h (opcode 'A5' in hexidecimal) is the "reserved" opcode of the 8051 instruction set. This means it is NOT a valid instruction to a pure 8051 microcontroller. In the 8052 and many other 8051 derivatives, the A5 opcode is used to signal that something special is going to happen, like an extended opcode instruction. A5 can also be used in conjunction with an invalid opcode handler as a odd sort of interrupt.
Unfortunately, in the Oki 8XC154 Microcontrollers, A5h is used in a somewhat unique way. I say unfortunately because the peculiar implementation of the A5 opcode used by oki makes it minorly incompatible with all standard 8051 disassemblers.
A5h as used by oki is a 3 byte instruction: A5 XX YY
- A5 = MOV (two bit address arguments)
- XX = bit address of source
- YY = bit address of destination