shithub: scc

Download patch

ref: 08f9c9fbdba14ce22efed411a31d6d536ea1aa2a
parent: 278181dd9110c3e2359aaa3c1961c1651441cd83
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Feb 2 13:05:32 EST 2018

[as-z80] Add test cases for at&t syntax

--- a/as/target/x80/z80-test.s
+++ b/as/target/x80/z80-test.s
@@ -40,7 +40,7 @@
 	DAA		/ 27
 L4:	JR	Z,$L4	/ 28 02
 	ADD	HL,HL	/ 29
-	LD	HL, (16384)	/ 2A 00 40
+	LD	HL,(16384)	/ 2A 00 40
 	DEC	HL	/ 2B
 	INC	L	/ 2C
 	DEC	L	/ 2D
@@ -1134,3 +1134,455 @@
 	LD	SP,IY	/ FD F9
 	CP	A,$32	/ FE 20
 	RST	$56	/ FF
+
+/ and now, we are going to test at&t syntax in z80
+	INC	32(IX)	/ DD 34 20
+	DEC	16(IX)	/ DD 35 10
+	LD	64(IX),$128	/ DD 36 40 80
+	LD	B,32(IX)	/ DD 46 20
+	LD	C,48(IX)	/ DD 4E 30
+	LD	D,32(IX)	/ DD 56 20
+	LD	E,64(IX)	/ DD 5E 40
+	LD	H,16(IX)	/ DD 66 10
+	LD	L,48(IX)	/ DD 6E 30
+	LD	64(IX),B	/ DD 70 40
+	LD	16(IX),C	/ DD 71 10
+	LD	32(IX),D	/ DD 72 20
+	LD	48(IX),E	/ DD 73 30
+	LD	16(IX),H	/ DD 74 10
+	LD	32(IX),L	/ DD 75 20
+	LD	48(IX),A	/ DD 77 30
+	LD	A,16(IX)	/ DD 7E 10
+	ADD	A,32(IX)	/ DD 86 20
+	ADC	A,48(IX)	/ DD 8E 30
+	SUB	A,16(IX)	/ DD 96 10
+	SBC	A,32(IX)	/ DD 9E 20
+	AND	A,48(IX)	/ DD A6 30
+	XOR	A,16(IX)	/ DD AE 10
+	OR	A,32(IX)	/ DD B6 20
+	CP	A,48(IX)	/ DD BE 30
+	RLC	16(IX),B	/ DD CB 10 00
+	RLC	32(IX),C	/ DD CB 20 01
+	RLC	48(IX),D	/ DD CB 30 02
+	RLC	64(IX),E	/ DD CB 40 03
+	RLC	16(IX),H	/ DD CB 10 04
+	RLC	32(IX),L	/ DD CB 20 05
+	RLC	64(IX)	/ DD CB 40 06
+	RLC	16(IX),A	/ DD CB 10 07
+	RRC	32(IX),B 	/ DD CB 20 08
+	RRC	48(IX),C	/ DD CB 30 09
+	RRC	64(IX),D	/ DD CB 40 0A
+	RRC	16(IX),E	/ DD CB 10 0B
+	RRC	32(IX),H	/ DD CB 20 0C
+	RRC	48(IX),L	/ DD CB 30 0D
+	RRC	16(IX)	/ DD CB 10 0E
+	RRC	16(IX),A	/ DD CB 10 0F
+	RL	32(IX),B	/ DD CB 20 10
+	RL	48(IX),C	/ DD CB 30 11
+	RL	64(IX),D	/ DD CB 40 12
+	RL	16(IX),E	/ DD CB 10 13
+	RL	32(IX),H	/ DD CB 20 14
+	RL	48(IX),L	/ DD CB 30 15
+	RL	32(IX)	/ DD CB 20 16
+	RL	16(IX),A	/ DD CB 10 17
+	RR	32(IX),B	/ DD CB 20 18
+	RR	48(IX),C	/ DD CB 30 19
+	RR	64(IX),D	/ DD CB 40 1A
+	RR	16(IX),E	/ DD CB 10 1B
+	RR	32(IX),H	/ DD CB 20 1C
+	RR	48(IX),L	/ DD CB 30 1D
+	RR	48(IX)	/ DD CB 30 1E
+	RR	16(IX),A	/ DD CB 10 1F
+	SLA	32(IX),B	/ DD CB 20 20
+	SLA	48(IX),C	/ DD CB 30 21
+	SLA	64(IX),D	/ DD CB 40 22
+	SLA	16(IX),E	/ DD CB 10 23
+	SLA	32(IX),H	/ DD CB 20 24
+	SLA	48(IX),L	/ DD CB 30 25
+	SLA	64(IX)	/ DD CB 40 26
+	SLA	16(IX),A	/ DD CB 10 27
+	SRA	32(IX),B	/ DD CB 20 28
+	SRA	48(IX),C	/ DD CB 30 29
+	SRA	64(IX),D	/ DD CB 40 2A
+	SRA	16(IX),E	/ DD CB 10 2B
+	SRA	32(IX),H	/ DD CB 20 2C
+	SRA	48(IX),L	/ DD CB 30 2D
+	SRA	16(IX)	/ DD CB 10 2E
+	SRA	16(IX),A	/ DD CB 10 2F
+	SLL	32(IX),B	/ DD CB 20 30
+	SLL	48(IX),C	/ DD CB 30 31
+	SLL	64(IX),D	/ DD CB 40 32
+	SLL	16(IX),E	/ DD CB 10 33
+	SLL	32(IX),H	/ DD CB 20 34
+	SLL	48(IX),L	/ DD CB 30 35
+	SLL	32(IX)	/ DD CB 20 36
+	SLL	16(IX),A	/ DD CB 10 37
+	SRL	32(IX),B	/ DD CB 20 38
+	SRL	48(IX),C	/ DD CB 30 39
+	SRL	64(IX),D	/ DD CB 40 3A
+	SRL	16(IX),E	/ DD CB 10 3B
+	SRL	32(IX),H	/ DD CB 20 3C
+	SRL	48(IX),L	/ DD CB 30 3D
+	SRL	48(IX)	/ DD CB 30 3E
+	SRL	64(IX),A	/ DD CB 40 3F
+	BIT	$0,16(IX)	/ DD CB 10 46
+	BIT	$1,32(IX)	/ DD CB 20 4E
+	BIT	$2,48(IX)	/ DD CB 30 56
+	BIT	$3,64(IX)	/ DD CB 40 5E
+	BIT	$4,16(IX)	/ DD CB 10 66
+	BIT	$5,32(IX)	/ DD CB 20 6E
+	BIT	$6,48(IX)	/ DD CB 30 76
+	BIT	$7,64(IX)	/ DD CB 40 7E
+	RES	$0,16(IX),B	/ DD CB 10 80
+	RES	$0,32(IX),C	/ DD CB 20 81
+	RES	$0,48(IX),D	/ DD CB 30 82
+	RES	$0,64(IX),E	/ DD CB 40 83
+	RES	$0,16(IX),H	/ DD CB 10 84
+	RES	$0,32(IX),L	/ DD CB 20 85
+	RES	$0,48(IX)	/ DD CB 30 86
+	RES	$0,64(IX),A	/ DD CB 40 87
+	RES	$1,16(IX),B	/ DD CB 10 88
+	RES	$1,32(IX),C	/ DD CB 20 89
+	RES	$1,48(IX),D	/ DD CB 30 8A
+	RES	$1,64(IX),E	/ DD CB 40 8B
+	RES	$1,16(IX),H	/ DD CB 10 8C
+	RES	$1,32(IX),L	/ DD CB 20 8D
+	RES	$1,48(IX)	/ DD CB 30 8E
+	RES	$1,64(IX),A	/ DD CB 40 8F
+	RES	$2,16(IX),B	/ DD CB 10 90
+	RES	$2,32(IX),C	/ DD CB 20 91
+	RES	$2,48(IX),D	/ DD CB 30 92
+	RES	$2,64(IX),E	/ DD CB 40 93
+	RES	$2,16(IX),H	/ DD CB 10 94
+	RES	$2,32(IX),L	/ DD CB 20 95
+	RES	$2,48(IX)	/ DD CB 30 96
+	RES	$2,64(IX),A	/ DD CB 40 97
+	RES	$3,16(IX),B	/ DD CB 10 98
+	RES	$3,32(IX),C	/ DD CB 20 99
+	RES	$3,48(IX),D	/ DD CB 30 9A
+	RES	$3,64(IX),E	/ DD CB 40 9B
+	RES	$3,16(IX),H	/ DD CB 10 9C
+	RES	$3,32(IX),L	/ DD CB 20 9D
+	RES	$3,48(IX)	/ DD CB 30 9E
+	RES	$3,64(IX),A	/ DD CB 40 9F
+	RES	$4,16(IX),B	/ DD CB 10 A0
+	RES	$4,32(IX),C	/ DD CB 20 A1
+	RES	$4,48(IX),D	/ DD CB 30 A2
+	RES	$4,64(IX),E	/ DD CB 40 A3
+	RES	$4,16(IX),H	/ DD CB 10 A4
+	RES	$4,32(IX),L	/ DD CB 20 A5
+	RES	$4,48(IX)	/ DD CB 30 A6
+	RES	$4,64(IX),A	/ DD CB 40 A7
+	RES	$5,16(IX),B	/ DD CB 10 A8
+	RES	$5,32(IX),C	/ DD CB 20 A9
+	RES	$5,48(IX),D	/ DD CB 30 AA
+	RES	$5,64(IX),E	/ DD CB 40 AB
+	RES	$5,16(IX),H	/ DD CB 10 AC
+	RES	$5,32(IX),L	/ DD CB 20 AD
+	RES	$5,48(IX)	/ DD CB 30 AE
+	RES	$5,64(IX),A	/ DD CB 40 AF
+	RES	$6,16(IX),B	/ DD CB 10 B0
+	RES	$6,32(IX),C	/ DD CB 20 B1
+	RES	$6,48(IX),D	/ DD CB 30 B2
+	RES	$6,64(IX),E	/ DD CB 40 B3
+	RES	$6,16(IX),H	/ DD CB 10 B4
+	RES	$6,32(IX),L	/ DD CB 20 B5
+	RES	$6,48(IX)	/ DD CB 30 B6
+	RES	$6,64(IX),A	/ DD CB 40 B7
+	RES	$7,16(IX),B	/ DD CB 10 B8
+	RES	$7,32(IX),C	/ DD CB 20 B9
+	RES	$7,48(IX),D	/ DD CB 30 BA
+	RES	$7,64(IX),E	/ DD CB 40 BB
+	RES	$7,16(IX),H	/ DD CB 10 BC
+	RES	$7,32(IX),L	/ DD CB 20 BD
+	RES	$7,48(IX)	/ DD CB 30 BE
+	RES	$7,64(IX),A	/ DD CB 40 BF
+	SET	$0,16(IX),B	/ DD CB 10 C0
+	SET	$0,32(IX),C	/ DD CB 20 C1
+	SET	$0,48(IX),D	/ DD CB 30 C2
+	SET	$0,64(IX),E	/ DD CB 40 C3
+	SET	$0,16(IX),H	/ DD CB 10 C4
+	SET	$0,32(IX),L	/ DD CB 20 C5
+	SET	$0,48(IX)	/ DD CB 30 C6
+	SET	$0,64(IX),A	/ DD CB 40 C7
+	SET	$1,16(IX),B	/ DD CB 10 C8
+	SET	$1,32(IX),C	/ DD CB 20 C9
+	SET	$1,48(IX),D	/ DD CB 30 CA
+	SET	$1,64(IX),E	/ DD CB 40 CB
+	SET	$1,16(IX),H	/ DD CB 10 CC
+	SET	$1,32(IX),L	/ DD CB 20 CD
+	SET	$1,48(IX)	/ DD CB 30 CE
+	SET	$1,64(IX),A	/ DD CB 40 CF
+	SET	$2,16(IX),B	/ DD CB 10 D0
+	SET	$2,32(IX),C	/ DD CB 20 D1
+	SET	$2,48(IX),D	/ DD CB 30 D2
+	SET	$2,64(IX),E	/ DD CB 40 D3
+	SET	$2,16(IX),H	/ DD CB 10 D4
+	SET	$2,32(IX),L	/ DD CB 20 D5
+	SET	$2,48(IX)	/ DD CB 30 D6
+	SET	$2,64(IX),A	/ DD CB 40 D7
+	SET	$3,16(IX),B	/ DD CB 10 D8
+	SET	$3,32(IX),C	/ DD CB 20 D9
+	SET	$3,48(IX),D	/ DD CB 30 DA
+	SET	$3,64(IX),E	/ DD CB 40 DB
+	SET	$3,16(IX),H	/ DD CB 10 DC
+	SET	$3,32(IX),L	/ DD CB 20 DD
+	SET	$3,48(IX)	/ DD CB 30 DE
+	SET	$3,64(IX),A	/ DD CB 40 DF
+	SET	$4,16(IX),B	/ DD CB 10 E0
+	SET	$4,32(IX),C	/ DD CB 20 E1
+	SET	$4,48(IX),D	/ DD CB 30 E2
+	SET	$4,64(IX),E	/ DD CB 40 E3
+	SET	$4,16(IX),H	/ DD CB 10 E4
+	SET	$4,32(IX),L	/ DD CB 20 E5
+	SET	$4,48(IX)	/ DD CB 30 E6
+	SET	$4,64(IX),A	/ DD CB 40 E7
+	SET	$5,16(IX),B	/ DD CB 10 E8
+	SET	$5,32(IX),C	/ DD CB 20 E9
+	SET	$5,48(IX),D	/ DD CB 30 EA
+	SET	$5,64(IX),E	/ DD CB 40 EB
+	SET	$5,16(IX),H	/ DD CB 10 EC
+	SET	$5,32(IX),L	/ DD CB 20 ED
+	SET	$5,48(IX)	/ DD CB 30 EE
+	SET	$5,64(IX),A	/ DD CB 40 EF
+	SET	$6,16(IX),B	/ DD CB 10 F0
+	SET	$6,32(IX),C	/ DD CB 20 F1
+	SET	$6,48(IX),D	/ DD CB 30 F2
+	SET	$6,64(IX),E	/ DD CB 40 F3
+	SET	$6,16(IX),H	/ DD CB 10 F4
+	SET	$6,32(IX),L	/ DD CB 20 F5
+	SET	$6,48(IX)	/ DD CB 30 F6
+	SET	$6,64(IX),A	/ DD CB 40 F7
+	SET	$7,16(IX),B	/ DD CB 10 F8
+	SET	$7,32(IX),C	/ DD CB 20 F9
+	SET	$7,48(IX),D	/ DD CB 30 FA
+	SET	$7,64(IX),E	/ DD CB 40 FB
+	SET	$7,16(IX),H	/ DD CB 10 FC
+	SET	$7,32(IX),L	/ DD CB 20 FD
+	SET	$7,48(IX)	/ DD CB 30 FE
+	SET	$7,64(IX),A	/ DD CB 40 FF
+	INC	32(IY)	/ FD 34 20
+	DEC	48(IY)	/ FD 35 30
+	LD	64(IY),$16	/ FD 36 40 10
+	LD	B,32(IY)	/ FD 46 20
+	LD	C,48(IY)	/ FD 4E 30
+	LD	D,64(IY)	/ FD 56 40
+	LD	E,16(IY)	/ FD 5E 10
+	LD	H,32(IY)	/ FD 66 20
+	LD	L,48(IY)	/ FD 6E 30
+	LD	64(IY),B	/ FD 70 40
+	LD	16(IY),C	/ FD 71 10
+	LD	32(IY),D	/ FD 72 20
+	LD	48(IY),E	/ FD 73 30
+	LD	64(IY),H	/ FD 74 40
+	LD	16(IY),L	/ FD 75 10
+	LD	32(IY),A	/ FD 77 20
+	LD	A,48(IY)	/ FD 7E 30
+	ADD	A,64(IY)	/ FD 86 40
+	ADC	A,16(IY)	/ FD 8E 10
+	SUB	A,32(IY)	/ FD 96 20
+	SBC	A,48(IY)	/ FD 9E 30
+	AND	A,64(IY)	/ FD A6 40
+	XOR	A,16(IY)	/ FD AE 10
+	OR	A,32(IY)	/ FD B6 20
+	CP	A,48(IY)	/ FD BE 30
+	RLC	16(IY),B	/ FD CB 10 00
+	RLC	32(IY),C	/ FD CB 20 01
+	RLC	48(IY),D	/ FD CB 30 02
+	RLC	64(IY),E	/ FD CB 40 03
+	RLC	16(IY),H	/ FD CB 10 04
+	RLC	32(IY),L	/ FD CB 20 05
+	RLC	16(IY)	/ FD CB 10 06
+	RLC	32(IY),A	/ FD CB 20 07
+	RRC	48(IY),B	/ FD CB 30 08
+	RRC	64(IY),C	/ FD CB 40 09
+	RRC	16(IY),D	/ FD CB 10 0A
+	RRC	32(IY),E	/ FD CB 20 0B
+	RRC	48(IY),H	/ FD CB 30 0C
+	RRC	64(IY),L	/ FD CB 40 0D
+	RRC	32(IY)	/ FD CB 20 0E
+	RRC	16(IY),A	/ FD CB 10 0F
+	RL	32(IY),B	/ FD CB 20 10
+	RL	48(IY),C	/ FD CB 30 11
+	RL	64(IY),D	/ FD CB 40 12
+	RL	16(IY),E	/ FD CB 10 13
+	RL	32(IY),H	/ FD CB 20 14
+	RL	48(IY),L	/ FD CB 30 15
+	RL	48(IY)	/ FD CB 30 16
+	RL	16(IY),A	/ FD CB 10 17
+	RR	32(IY),B	/ FD CB 20 18
+	RR	48(IY),C	/ FD CB 30 19
+	RR	64(IY),D	/ FD CB 40 1A
+	RR	16(IY),E	/ FD CB 10 1B
+	RR	32(IY),H	/ FD CB 20 1C
+	RR	48(IY),L	/ FD CB 30 1D
+	RR	64(IY)	/ FD CB 40 1E
+	RR	16(IY),A	/ FD CB 10 1F
+	SLA	32(IY),B	/ FD CB 20 20
+	SLA	48(IY),C	/ FD CB 30 21
+	SLA	64(IY),D	/ FD CB 40 22
+	SLA	16(IY),E	/ FD CB 10 23
+	SLA	32(IY),H	/ FD CB 20 24
+	SLA	48(IY),L	/ FD CB 30 25
+	SLA	16(IY)	/ FD CB 10 26
+	SLA	16(IY),A	/ FD CB 10 27
+	SRA	32(IY),B	/ FD CB 20 28
+	SRA	48(IY),C	/ FD CB 30 29
+	SRA	64(IY),D	/ FD CB 40 2A
+	SRA	16(IY),E	/ FD CB 10 2B
+	SRA	32(IY),H	/ FD CB 20 2C
+	SRA	48(IY),L	/ FD CB 30 2D
+	SRA	32(IY)	/ FD CB 20 2E
+	SRA	48(IY),A	/ FD CB 30 2F
+	SLL	16(IY),B	/ FD CB 10 30
+	SLL	32(IY),C	/ FD CB 20 31
+	SLL	48(IY),D	/ FD CB 30 32
+	SLL	64(IY),E	/ FD CB 40 33
+	SLL	16(IY),H	/ FD CB 10 34
+	SLL	32(IY),L	/ FD CB 20 35
+	SLL	48(IY)	/ FD CB 30 36
+	SLL	16(IY),A	/ FD CB 10 37
+	SRL	32(IY),B	/ FD CB 20 38
+	SRL	48(IY),C	/ FD CB 30 39
+	SRL	64(IY),D	/ FD CB 40 3A
+	SRL	16(IY),E	/ FD CB 10 3B
+	SRL	32(IY),H	/ FD CB 20 3C
+	SRL	48(IY),L	/ FD CB 30 3D
+	SRL	64(IY)	/ FD CB 40 3E
+	SRL	16(IY),A	/ FD CB 10 3F
+	BIT	$0,16(IY)	/ FD CB 10 46
+	BIT	$1,32(IY)	/ FD CB 20 4E
+	BIT	$2,48(IY)	/ FD CB 30 56
+	BIT	$3,64(IY)	/ FD CB 40 5E
+	BIT	$4,16(IY)	/ FD CB 10 66
+	BIT	$5,32(IY)	/ FD CB 20 6E
+	BIT	$6,48(IY)	/ FD CB 30 76
+	BIT	$7,64(IY)	/ FD CB 40 7E
+	RES	$0,16(IY),B	/ FD CB 10 80
+	RES	$0,32(IY),C	/ FD CB 20 81
+	RES	$0,48(IY),D	/ FD CB 30 82
+	RES	$0,64(IY),E	/ FD CB 40 83
+	RES	$0,16(IY),H	/ FD CB 10 84
+	RES	$0,32(IY),L	/ FD CB 20 85
+	RES	$0,48(IY)	/ FD CB 30 86
+	RES	$0,64(IY),A	/ FD CB 40 87
+	RES	$1,16(IY),B	/ FD CB 10 88
+	RES	$1,32(IY),C	/ FD CB 20 89
+	RES	$1,48(IY),D	/ FD CB 30 8A
+	RES	$1,64(IY),E	/ FD CB 40 8B
+	RES	$1,16(IY),H	/ FD CB 10 8C
+	RES	$1,32(IY),L	/ FD CB 20 8D
+	RES	$1,48(IY)	/ FD CB 30 8E
+	RES	$1,64(IY),A	/ FD CB 40 8F
+	RES	$2,16(IY),B	/ FD CB 10 90
+	RES	$2,32(IY),C	/ FD CB 20 91
+	RES	$2,48(IY),D	/ FD CB 30 92
+	RES	$2,64(IY),E	/ FD CB 40 93
+	RES	$2,16(IY),H	/ FD CB 10 94
+	RES	$2,32(IY),L	/ FD CB 20 95
+	RES	$2,48(IY)	/ FD CB 30 96
+	RES	$2,64(IY),A	/ FD CB 40 97
+	RES	$3,16(IY),B	/ FD CB 10 98
+	RES	$3,32(IY),C	/ FD CB 20 99
+	RES	$3,48(IY),D	/ FD CB 30 9A
+	RES	$3,64(IY),E	/ FD CB 40 9B
+	RES	$3,16(IY),H	/ FD CB 10 9C
+	RES	$3,32(IY),L	/ FD CB 20 9D
+	RES	$3,48(IY)	/ FD CB 30 9E
+	RES	$3,64(IY),A	/ FD CB 40 9F
+	RES	$4,16(IY),B	/ FD CB 10 A0
+	RES	$4,32(IY),C	/ FD CB 20 A1
+	RES	$4,48(IY),D	/ FD CB 30 A2
+	RES	$4,64(IY),E	/ FD CB 40 A3
+	RES	$4,16(IY),H	/ FD CB 10 A4
+	RES	$4,32(IY),L	/ FD CB 20 A5
+	RES	$4,48(IY)	/ FD CB 30 A6
+	RES	$4,64(IY),A	/ FD CB 40 A7
+	RES	$5,16(IY),B	/ FD CB 10 A8
+	RES	$5,32(IY),C	/ FD CB 20 A9
+	RES	$5,48(IY),D	/ FD CB 30 AA
+	RES	$5,64(IY),E	/ FD CB 40 AB
+	RES	$5,16(IY),H	/ FD CB 10 AC
+	RES	$5,32(IY),L	/ FD CB 20 AD
+	RES	$5,48(IY)	/ FD CB 30 AE
+	RES	$5,64(IY),A	/ FD CB 40 AF
+	RES	$6,16(IY),B	/ FD CB 10 B0
+	RES	$6,32(IY),C	/ FD CB 20 B1
+	RES	$6,48(IY),D	/ FD CB 30 B2
+	RES	$6,64(IY),E	/ FD CB 40 B3
+	RES	$6,16(IY),H	/ FD CB 10 B4
+	RES	$6,32(IY),L	/ FD CB 20 B5
+	RES	$6,48(IY)	/ FD CB 30 B6
+	RES	$6,64(IY),A	/ FD CB 40 B7
+	RES	$7,16(IY),B	/ FD CB 10 B8
+	RES	$7,32(IY),C	/ FD CB 20 B9
+	RES	$7,48(IY),D	/ FD CB 30 BA
+	RES	$7,64(IY),E	/ FD CB 40 BB
+	RES	$7,16(IY),H	/ FD CB 10 BC
+	RES	$7,32(IY),L	/ FD CB 20 BD
+	RES	$7,48(IY)	/ FD CB 30 BE
+	RES	$7,64(IY),A	/ FD CB 40 BF
+	SET	$0,16(IY),B	/ FD CB 10 C0
+	SET	$0,32(IY),C	/ FD CB 20 C1
+	SET	$0,48(IY),D	/ FD CB 30 C2
+	SET	$0,64(IY),E	/ FD CB 40 C3
+	SET	$0,16(IY),H	/ FD CB 10 C4
+	SET	$0,32(IY),L	/ FD CB 20 C5
+	SET	$0,48(IY)	/ FD CB 30 C6
+	SET	$0,64(IY),A	/ FD CB 40 C7
+	SET	$1,16(IY),B	/ FD CB 10 C8
+	SET	$1,32(IY),C	/ FD CB 20 C9
+	SET	$1,48(IY),D	/ FD CB 30 CA
+	SET	$1,64(IY),E	/ FD CB 40 CB
+	SET	$1,16(IY),H	/ FD CB 10 CC
+	SET	$1,32(IY),L	/ FD CB 20 CD
+	SET	$1,48(IY)	/ FD CB 30 CE
+	SET	$1,64(IY),A	/ FD CB 40 CF
+	SET	$2,16(IY),B	/ FD CB 10 D0
+	SET	$2,32(IY),C	/ FD CB 20 D1
+	SET	$2,48(IY),D	/ FD CB 30 D2
+	SET	$2,64(IY),E	/ FD CB 40 D3
+	SET	$2,16(IY),H	/ FD CB 10 D4
+	SET	$2,32(IY),L	/ FD CB 20 D5
+	SET	$2,48(IY)	/ FD CB 30 D6
+	SET	$2,64(IY),A	/ FD CB 40 D7
+	SET	$3,16(IY),B	/ FD CB 10 D8
+	SET	$3,32(IY),C	/ FD CB 20 D9
+	SET	$3,48(IY),D	/ FD CB 30 DA
+	SET	$3,64(IY),E	/ FD CB 40 DB
+	SET	$3,16(IY),H	/ FD CB 10 DC
+	SET	$3,32(IY),L	/ FD CB 20 DD
+	SET	$3,48(IY)	/ FD CB 30 DE
+	SET	$3,64(IY),A	/ FD CB 40 DF
+	SET	$4,16(IY),B	/ FD CB 10 E0
+	SET	$4,32(IY),C	/ FD CB 20 E1
+	SET	$4,48(IY),D	/ FD CB 30 E2
+	SET	$4,64(IY),E	/ FD CB 40 E3
+	SET	$4,16(IY),H	/ FD CB 10 E4
+	SET	$4,32(IY),L	/ FD CB 20 E5
+	SET	$4,48(IY)	/ FD CB 30 E6
+	SET	$4,64(IY),A	/ FD CB 40 E7
+	SET	$5,16(IY),B	/ FD CB 10 E8
+	SET	$5,32(IY),C	/ FD CB 20 E9
+	SET	$5,48(IY),D	/ FD CB 30 EA
+	SET	$5,64(IY),E	/ FD CB 40 EB
+	SET	$5,16(IY),H	/ FD CB 10 EC
+	SET	$5,32(IY),L	/ FD CB 20 ED
+	SET	$5,48(IY)	/ FD CB 30 EE
+	SET	$5,64(IY),A	/ FD CB 40 EF
+	SET	$6,16(IY),B	/ FD CB 10 F0
+	SET	$6,32(IY),C	/ FD CB 20 F1
+	SET	$6,48(IY),D	/ FD CB 30 F2
+	SET	$6,64(IY),E	/ FD CB 40 F3
+	SET	$6,16(IY),H	/ FD CB 10 F4
+	SET	$6,32(IY),L	/ FD CB 20 F5
+	SET	$6,48(IY)	/ FD CB 30 F6
+	SET	$6,64(IY),A	/ FD CB 40 F7
+	SET	$7,16(IY),B	/ FD CB 10 F8
+	SET	$7,32(IY),C	/ FD CB 20 F9
+	SET	$7,48(IY),D	/ FD CB 30 FA
+	SET	$7,64(IY),E	/ FD CB 40 FB
+	SET	$7,16(IY),H	/ FD CB 10 FC
+	SET	$7,32(IY),L	/ FD CB 20 FD
+	SET	$7,48(IY)	/ FD CB 30 FE
+	SET	$7,64(IY),A	/ FD CB 40 FF