The YGREC8's Manual : the INV opcode

Created dim. 29 oct. 2023 23:40:23 CET by whygee@f-cpu.org

PRELIMINARY / WORK IN PROGRESS


Encoding

15141312 111098 7654 3210
1 1 1 1 × × × × × × × × × × × ×

Description

This opcode is INValid. It traps the core, which might freeze or restart (depending on the implementation).

Its value matches the bit pattern of uninitialised Flash memory cells.

The 12 LSB are not decoded and might be used for future ISA expansions. Don't mess with them, 1111xxxxxxxxxxxx should always be disassembled and reassembled to 1111111111111111.

Effects

INV does not affect the Carry, Sign or Zero flags.

It might affect a Reason I/O register and/or the overlay number if they are implemented.

Forms

This instruction has no argument.

Example

INV   ; something went wrong here.