Created dim. 29 oct. 2023 23:40:23 CET by whygee@f-cpu.org PRELIMINARY / WORK IN PROGRESS
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 1 | 1 | 0 | 0 | 0 | N | CND3 | 0 | 0 | 0 | SND |
This opcode is a prefix for the following instruction and modifies its default behaviour.
PF does not affect the Carry, Sign or Zero flags (only the default Carry In value, which is different from the Carry flag).
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.
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.