BEFEHLE ASM;--------------------------------------
;Test und Demonstration der in EDAS
;vorhandenen U880-Befehlsliste und
;der Pseudobefehle
;
;	(f}r Version 1.5/1.6)
;
;BEFEHLE.ASM		` ml 04.05.93
;--------------------------------------
n	EQU	11H	;8-Bit-Wert
nn	EQU	2222H	;16-Bit-Adresse
off	EQU	33H	;8-Bit-Offset
 
	ORG	200H
;-------
;Hauptbefehlsgruppe:
 
	NOP
	LD	BC,nn
	LD	(BC),A
	INC	BC
	INC	B
	DEC	B
	LD	B,n
	RLCA
	EX	AF
	ADD	HL,BC
	LD	A,(BC)
	DEC	BC
	INC	C
	DEC	C
	LD	C,n
	RRCA
 
	DJNZ	$+2
	LD	DE,nn
	LD	(DE),A
	INC	DE
	INC	D
	DEC	D
	LD	D,n
	RLA
	JR	#+2
	ADD	HL,DE
	LD	A,(DE)
	DEC	DE
	INC	E
	DEC	E
	LD	E,n
	RRA
 
	JR	NZ,$+2
	LD	HL,nn
	LD	(nn),HL
	INC	HL
	INC	H
	DEC	H
	LD	H,n
	DAA
	JR	Z,$+2
	ADD	HL,HL
	LD	HL,(nn)
	DEC	HL
	INC	L
	DEC	L
	LD	L,n
	CPL
 
	JR	NC,#+2
	LD	SP,nn
	LD	(nn),A
	INC	SP
	INC	M
	DEC	M
	LD	M,n
	SCF
	JR	C,$+2
	ADD	HL,SP
	LD	A,(nn)
	DEC	SP
	INC	A
	DEC	A
	LD	A,n
	CCF
 
	LD	B,B
	LD	B,C
	LD	B,D
	LD	B,E
	LD	B,H
	LD	B,L
	LD	B,M
	LD	B,A
	LD	C,B
	LD	C,C
	LD	C,D
	LD	C,E
	LD	C,H
	LD	C,L
	LD	C,M
	LD	C,A
 
	LD	D,B
	LD	D,C
	LD	D,D
	LD	D,E
	LD	D,H
	LD	D,L
	LD	D,M
	LD	D,A
	LD	E,B
	LD	E,C
	LD	E,D
	LD	E,E
	LD	E,H
	LD	E,L
	LD	E,M
	LD	E,A
 
	LD	H,B
	LD	H,C
	LD	H,D
	LD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UB	HX
	SUB	HY
	SUB	LX
	SUB	LY
	SUB	(IX+off)
	SUB	(IY+off)
 
	SBC	A,HX
	SBC	A,HY
	SBC	A,LX
	SBC	A,LY
	SBC	A,(IX+off)
	SBC	A,(IY+off)
 
	AND	HX
	AND	HY
	AND	LX
	AND	LY
	AND	(IX+off)
	AND	(IY+off)
 
	XOR	HX
	XOR	HY
	XOR	LX
	XOR	LY
	XOR	(IX+off)
	XOR	(IY+off)
 
	OR	HX
	OR	HY
	OR	LX
	OR	LY
	OR	(IX+off)
	OR	(IY+off)
 
	CP	HX
	CP	HY
	CP	LX
	CP	LY
	CP	(IX+off)
	CP	(IY+off)
 
	POP	IX
	POP	IY
	EX	(SP),IX
	EX	(SP),IY
	PUSH	IX
	PUSH	IY
	JP	(IX)
	JP	(IY)
 
	LD	SP,IX
	LD	SP,IY
;-------
;Index-Bitbefehle:
 
	RLC	(IX+off),B
	RLC	(IY+off),B
	RLC	(IX+off),C
	RLC	(IY+off),C
	RLC	(IX+off),D
	RLC	(IY+off),D
	RLC	(IX+off),E
	RLC	(IY+off),E
	RLC	(IX+off),H
	RLC	(IY+off),H
	RLC	(IX+off),L
	RLC	(IY+off),L
	RLC	(IX+off)
	RLC	(IY+off)
	RLC	(IX+off),A
	RLC	(IY+off),A
 
	RRC	(IX+off),B
	RRC	(IY+off),B
	RRC	(IX+off),C
	RRC	(IY+off),C
	RRC	(IX+off),D
	RRC	(IY+off),D
	RRC	(IX+off),E
	RRC	(IY+off),E
	RRC	(IX+off),H
	RRC	(IY+off),H
	RRC	(IX+off),L
	RRC	(IY+off),L
	RRC	(IX+off)
	RRC	(IY+off)
	RRC	(IX+off),A
	RRC	(IY+off),A
 
	RL	(IX+off),B
	RL	(IY+off),B
	RL	(IX+off),C
	RL	(IY+off),C
	RL	(IX+off),D
	RL	(IY+off),D
	RL	(IX+off),E
	RL	(IY+off),E
	RL	(IX+off),H
	RL	(IY+off),H
	RL	(IX+off),L
	RL	(IY+off),L
	RL	(IX+off)
	RL	(IY+off)
	RL	(IX+off),A
	RL	(IY+off),A
 
	RR	(IX+off),B
	RR	(IY+off),B
	RR	(IX+off),C
	RR	(IY+off),C
	RR	(IX+off),D
	RR	(IY+off),D
	RR	(IX+off),E
	RR	(IY+off),E
	RR	(IX+off),H
	RR	(IY+off),H
	RR	(IX+off),L
	RR	(IY+off),L
	RR	(IX+off)
	RR	(IY+off)
	RR	(IX+off),A
	RR	(IY+off),A
 
	SLA	(IX+off),B
	SLA	(IY+off),B
	SLA	(IX+off),C
	SLA	(IY+off),C
	SLA	(IX+off),D
	SLA	(IY+off),D
	SLA	(IX+off),E
	SLA	(IY+off),E
	SLA	(IX+off),H
	SLA	(IY+off),H
	SLA	(IX+off),L
	SLA	(IY+off),L
	SLA	(IX+off)
	SLA	(IY+off)
	SLA	(IX+off),A
	SLA	(IY+off),A
 
	SRA	(IX+off),B
	SRA	(IY+off),B
	SRA	(IX+off),C
	SRA	(IY+off),C
	SRA	(IX+off),D
	SRA	(IY+off),D
	SRA	(IX+off),E
	SRA	(IY+off),E
	SRA	(IX+off),H
	SRA	(IY+off),H
	SRA	(IX+off),L
	SRA	(IY+off),L
	SRA	(IX+off)
	SRA	(IY+off)
	SRA	(IX+off),A
	SRA	(IY+off),A
 
	SLS	(IX+off),B
	SLS	(IY+off),B
	SLS	(IX+off),C
	SLS	(IY+off),C
	SLS	(IX+off),D
	SLS	(IY+off),D
	SLS	(IX+off),E
	SLS	(IY+off),E
	SLS	(IX+off),H
	SLS	(IY+off),H
	SLS	(IX+off),L
	SLS	(IY+off),L
	SLS	(IX+off)
	SLS	(IY+off)
	SLS	(IX+off),A
	SLS	(IY+off),A
 
	SRL	(IX+off),B
	SRL	(IY+off),B
	SRL	(IX+off),C
	SRL	(IY+off),C
	SRL	(IX+off),D
	SRL	(IY+off),D
	SRL	(IX+off),E
	SRL	(IY+off),E
	SRL	(IX+off),H
	SRL	(IY+off),H
	SRL	(IX+off),L
	SRL	(IY+off),L
	SRL	(IX+off)
	SRL	(IY+off)
	SRL	(IX+off),A
	SRL	(IY+off),A
 
	BIT	0,(IX+off)
	BIT	0,(IY+off)
	BIT	1,(IX+off)
	BIT	1,(IY+off)
 
	BIT	2,(IX+off)
	BIT	2,(IY+off)
	BIT	3,(IX+off)
	BIT	3,(IY+off)
 
	BIT	4,(IX+off)
	BIT	4,(IY+off)
	BIT	5,(IX+off)
	BIT	5,(IY+off)
 
	BIT	6,(IX+off)
	BIT	6,(IY+off)
	BIT	7,(IX+off)
	BIT	7,(IY+off)
 
	RES	0,(IX+off),B
	RES	0,(IY+off),B
	RES	0,(IX+off),C
	RES	0,(IY+off),C
	RES	0,(IX+off),D
	RES	0,(IY+off),D
	RES	0,(IX+off),E
	RES	0,(IY+off),E
	RES	0,(IX+off),H
	RES	0,(IY+off),H
	RES	0,(IX+off),L
	RES	0,(IY+off),L
	RES	0,(IX+off)
	RES	0,(IY+off)
	RES	0,(IX+off),A
	RES	0,(IY+off),A
 
	RES	1,(IX+off),B
	RES	1,(IY+off),B
	RES	1,(IX+off),C
	RES	1,(IY+off),C
	RES	1,(IX+off),D
	RES	1,(IY+off),D
	RES	1,(IX+off),E
	RES	1,(IY+off),E
	RES	1,(IX+off),H
	RES	1,(IY+off),H
	RES	1,(IX+off),L
	RES	1,(IY+off),L
	RES	1,(IX+off)
	RES	1,(IY+off)
	RES	1,(IX+off),A
	RES	1,(IY+off),A
 
	RES	2,(IX+off),B
	RES	2,(IY+off),B
	RES	2,(IX+off),C
	RES	2,(IY+off),C
	RES	2,(IX+off),D
	RES	2,(IY+off),D
	RES	2,(IX+off),E
	RES	2,(IY+off),E
	RES	2,(IX+off),H
	RES	2,(IY+off),H
	RES	2,(IX+off),L
	RES	2,(IY+off),L
	RES	2,(IX+off)
	RES	2,(IY+off)
	RES	2,(IX+off),A
	RES	2,(IY+off),A
 
	RES	3,(IX+off),B
	RES	3,(IY+off),B
	RES	3,(IX+off),C
	RES	3,(IY+off),C
	RES	3,(IX+off),D
	RES	3,(IY+off),D
	RES	3,(IX+off),E
	RES	3,(IY+off),E
	RES	3,(IX+off),H
	RES	3,(IY+off),H
	RES	3,(IX+off),L
	RES	3,(IY+off),L
	RES	3,(IX+off)
	RES	3,(IY+off)
	RES	3,(IX+off),A
	RES	3,(IY+off),A
 
	RES	4,(IX+off),B
	RES	4,(IY+off),B
	RES	4,(IX+off),C
	RES	4,(IY+off),C
	RES	4,(IX+off),D
	RES	4,(IY+off),D
	RES	4,(IX+off),E
	RES	4,(IY+off),E
	RES	4,(IX+off),H
	RES	4,(IY+off),H
	RES	4,(IX+off),L
	RES	4,(IY+off),L
	RES	4,(IX+off)
	RES	4,(IY+off)
	RES	4,(IX+off),A
	RES	4,(IY+off),A
 
	RES	5,(IX+off),B
	RES	5,(IY+off),B
	RES	5,(IX+off),C
	RES	5,(IY+off),C
	RES	5,(IX+off),D
	RES	5,(IY+off),D
	RES	5,(IX+off),E
	RES	5,(IY+off),E
	RES	5,(IX+off),H
	RES	5,(IY+off),H
	RES	5,(IX+off),L
	RES	5,(IY+off),L
	RES	5,(IX+off)
	RES	5,(IY+off)
	RES	5,(IX+off),A
	RES	5,(IY+off),A
 
	RES	6,(IX+off),B
	RES	6,(IY+off),B
	RES	6,(IX+off),C
	RES	6,(IY+off),C
	RES	6,(IX+off),D
	RES	6,(IY+off),D
	RES	6,(IX+off),E
	RES	6,(IY+off),E
	RES	6,(IX+off),H
	RES	6,(IY+off),H
	RES	6,(IX+off),L
	RES	6,(IY+off),L
	RES	6,(IX+off)
	RES	6,(IY+off)
	RES	6,(IX+off),A
	RES	6,(IY+off),A
 
	RES	7,(IX+off),B
	RES	7,(IY+off),B
	RES	7,(IX+off),C
	RES	7,(IY+off),C
	RES	7,(IX+off),D
	RES	7,(IY+off),D
	RES	7,(IX+off),E
	RES	7,(IY+off),E
	RES	7,(IX+off),H
	RES	7,(IY+off),H
	RES	7,(IX+off),L
	RES	7,(IY+off),L
	RES	7,(IX+off)
	RES	7,(IY+off)
	RES	7,(IX+off),A
	RES	7,(IY+off),A
 
	SET	0,(IX+off),B
	SET	0,(IY+off),B
	SET	0,(IX+off),C
	SET	0,(IY+off),C
	SET	0,(IX+off),D
	SET	0,(IY+off),D
	SET	0,(IX+off),E
	SET	0,(IY+off),E
	SET	0,(IX+off),H
	SET	0,(IY+off),H
	SET	0,(IX+off),L
	SET	0,(IY+off),L
	SET	0,(IX+off)
	SET	0,(IY+off)
	SET	0,(IX+off),A
	SET	0,(IY+off),A
 
	SET	1,(IX+off),B
	SET	1,(IY+off),B
	SET	1,(IX+off),C
	SET	1,(IY+off),C
	SET	1,(IX+off),D
	SET	1,(IY+off),D
	SET	1,(IX+off),E
	SET	1,(IY+off),E
	SET	1,(IX+off),H
	SET	1,(IY+off),H
	SET	1,(IX+off),L
	SET	1,(IY+off),L
	SET	1,(IX+off)
	SET	1,(IY+off)
	SET	1,(IX+off),A
	SET	1,(IY+off),A
 
	SET	2,(IX+off),B
	SET	2,(IY+off),B
	SET	2,(IX+off),C
	SET	2,(IY+off),C
	SET	2,(IX+off),D
	SET	2,(IY+off),D
	SET	2,(IX+off),E
	SET	2,(IY+off),E
	SET	2,(IX+off),H
	SET	2,(IY+off),H
	SET	2,(IX+off),L
	SET	2,(IY+off),L
	SET	2,(IX+off)
	SET	2,(IY+off)
	SET	2,(IX+off),A
	SET	2,(IY+off),A
 
	SET	3,(IX+off),B
	SET	3,(IY+off),B
	SET	3,(IX+off),C
	SET	3,(IY+off),C
	SET	3,(IX+off),D
	SET	3,(IY+off),D
	SET	3,(IX+off),E
	SET	3,(IY+off),E
	SET	3,(IX+off),H
	SET	3,(IY+off),H
	SET	3,(IX+off),L
	SET	3,(IY+off),L
	SET	3,(IX+off)
	SET	3,(IY+off)
	SET	3,(IX+off),A
	SET	3,(IY+off),A
 
	SET	4,(IX+off),B
	SET	4,(IY+off),B
	SET	4,(IX+off),C
	SET	4,(IY+off),C
	SET	4,(IX+off),D
	SET	4,(IY+off),D
	SET	4,(IX+off),E
	SET	4,(IY+off),E
	SET	4,(IX+off),H
	SET	4,(IY+off),H
	SET	4,(IX+off),L
	SET	4,(IY+off),L
	SET	4,(IX+off)
	SET	4,(IY+off)
	SET	4,(IX+off),A
	SET	4,(IY+off),A
 
	SET	5,(IX+off),B
	SET	5,(IY+off),B
	SET	5,(IX+off),C
	SET	5,(IY+off),C
	SET	5,(IX+off),D
	SET	5,(IY+off),D
	SET	5,(IX+off),E
	SET	5,(IY+off),E
	SET	5,(IX+off),H
	SET	5,(IY+off),H
	SET	5,(IX+off),L
	SET	5,(IY+off),L
	SET	5,(IX+off)
	SET	5,(IY+off)
	SET	5,(IX+off),A
	SET	5,(IY+off),A
 
	SET	6,(IX+off),B
	SET	6,(IY+off),B
	SET	6,(IX+off),C
	SET	6,(IY+off),C
	SET	6,(IX+off),D
	SET	6,(IY+off),D
	SET	6,(IX+off),E
	SET	6,(IY+off),E
	SET	6,(IX+off),H
	SET	6,(IY+off),H
	SET	6,(IX+off),L
	SET	6,(IY+off),L
	SET	6,(IX+off)
	SET	6,(IY+off)
	SET	6,(IX+off),A
	SET	6,(IY+off),A
 
	SET	7,(IX+off),B
	SET	7,(IY+off),B
	SET	7,(IX+off),C
	SET	7,(IY+off),C
	SET	7,(IX+off),D
	SET	7,(IY+off),D
	SET	7,(IX+off),E
	SET	7,(IY+off),E
	SET	7,(IX+off),H
	SET	7,(IY+off),H
	SET	7,(IX+off),L
	SET	7,(IY+off),L
	SET	7,(IX+off)
	SET	7,(IY+off)
	SET	7,(IX+off),A
	SET	7,(IY+off),A
;-------
;Zus{tzliche Befehle mit (HL) statt M:
 
	INC	(HL)
	DEC	(HL)
	LD	(HL),n
 
	LD	B,(HL)
	LD	C,(HL)
	LD	D,(HL)
	LD	E,(HL)
	LD	H,(HL)
	LD	L,(HL)
	LD	A,(HL)
 
	LD	(HL),B
	LD	(HL),C
	LD	(HL),D
	LD	(HL),E
	LD	(HL),H
	LD	(HL),L
	LD	(HL),A
 
	ADD	A,(HL)
	ADC	A,(HL)
	SUB	(HL)
	SBC	A,(HL)
	AND	(HL)
	XOR	(HL)
	OR	(HL)
	CP	(HL)
 
	JP	(HL)
 
	RLC	(HL)
	RRC	(HL)
	RL	(HL)
	RR	(HL)
	SLA	(HL)
	SRA	(HL)
	SLS	(HL)
	SRL	(HL)
 
	BIT	0,(HL)
	BIT	1,(HL)
	BIT	2,(HL)
	BIT	3,(HL)
	BIT	4,(HL)
	BIT	5,(HL)
	BIT	6,(HL)
	BIT	7,(HL)
 
	RES	0,(HL)
	RES	1,(HL)
	RES	2,(HL)
	RES	3,(HL)
	RES	4,(HL)
	RES	5,(HL)
	RES	6,(HL)
	RES	7,(HL)
 
	SET	0,(HL)
	SET	1,(HL)
	SET	2,(HL)
	SET	3,(HL)
	SET	4,(HL)
	SET	5,(HL)
	SET	6,(HL)
	SET	7,(HL)
;-------
;Pseudobefehle:
 
	DEFB	12
	DEFB	12+off
	DEFB	'A'
	DEFB	'A'+80H
	DEFS	8,-1
	DEFS	4
	DEFW	7F7FH
	DEFW	30,230H
	DB	12
	DB	'A'
	DB	'Text'
	DB	'->',0DH,0AH
	DS	8
	DS	4,' '
	DW	0DDDDH
	DW	1111H,24,48,0
;-------
;Rechenoperationen:
 
	DB	12+13H	;Addition
	DB	200H-23	;Subtraktion
	DB	4*16	;Multiplikation
	DB	1000/9	;Division
	DB	1000%9	;Rest
	END
 
ERRORS: 0000H
END+1 : 0E33H
3
OFF:""
NN:
N:А@Аt(Аp6АnTop of Text: End of Text: Start of MC: ASM-Offset : хЫ€ц$У€сЙхЫ€жЫУ€сЙНMА~#НDАф1 : 0E33H
3
OFF:""
NN:
N:А@Аt(Аp6АnTop of Text: End of Text: Start of MC: ASM-Offset : хЫ€ц$У€сЙхЫ€жЫУ€сЙНMА~#НDАф