The YGREC8's Manual : the PF 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 0 0 0 N CND3 0 0 0 SND

Description

This opcode is a prefix for the following instruction and modifies its default behaviour.

Effects

PF does not affect the Carry, Sign or Zero flags (only the default Carry In value, which is different from the Carry flag).

Forms

This is a core operation that supports only one reduced form of SRI (where the field is not used). It cannot be inhibited but has access to all the 16 conditions.

When the condition is omitted, it is also defaulted to "ALWS" and the Carry In is set to 1.

Examples

PF R1  ; the next instruction will write to R1, default ALWS => Carry In = 1

PF D1 IFN2 ; next instruction writes to D1, Carry In = bit 2.