Decoding ED Prefix

How the ED instruction prefix works

Instructions with the ED prefix consist of instructions that are not used as often as those in the main group.

01000100 NEG
01000101 RETN
01001101 RETI
01011110 IM2
010x0110 IMx
010x0111 LD
010x1000 LD
01100111 RRD (HL)
01101000 LD
01101111 RLD (HL)
01111001 OUT (C) A
01xx0010 SBC
01xx1010 ADC
01xxx000 IN r (C)
01xxx001 OUT (C) r
01xxx011 LD
101xx00x Block Memory
101xx01x Block IO

Last modified November 16, 2021: Optimise decoding pages (f08ceb7)