Implement 386 instruction table, improve 8086/186/286 instruction table
[multi_emu.git] / decode_z80_pre.sed
1 y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
2 s/^\(\(res\|rl\|rlc\|rr\|rrc\|set\|sla\|sll\|sra\|srl\) .*\)/\1,sink/
3 s/^ld \([abcdehl]\),\(\(res\|rl\|rlc\|rr\|rrc\|set\|sla\|sll\|sra\|srl\) .*\)/\2,\1/
4 s/^rst/call/
5 s/^\(ret\)$/\1 true/
6 s/^\(jr\|jp\|call\) \([^,]*\)$/\1 true,\2/
7 s/^\(in\) \([abcdehl],(c)\)/\1_z80 \2/
8 s/^\(in\) f,\((c)\)/\1_z80 sink,\2/