File: undoc.asm

package info (click to toggle)
pasmo 0.5.3-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 892 kB
  • ctags: 1,805
  • sloc: cpp: 8,508; asm: 3,020; sh: 790; makefile: 627
file content (128 lines) | stat: -rw-r--r-- 1,137 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
; undoc.asm
; Test of assembling of undocumented z80 instructions.

	org 100h ; For tests with cp/m

	ld a,ixh
	ld a,ixl
	ld a,iyh
	ld a,iyl

	ld b,ixh
	ld b,ixl
	ld b,iyh
	ld b,iyl

	ld c,ixh
	ld c,ixl
	ld c,iyh
	ld c,iyl

	ld d,ixh
	ld d,ixl
	ld d,iyh
	ld d,iyl

	ld e,ixh
	ld e,ixl
	ld e,iyh
	ld e,iyl

	ld ixh,a
	ld ixh,b
	ld ixh,c
	ld ixh,d
	ld ixh,e
	ld ixh,ixh
	ld ixh,ixl
	ld ixh,20h

	ld ixl,a
	ld ixl,b
	ld ixl,c
	ld ixl,d
	ld ixl,e
	ld ixl,ixh
	ld ixl,ixl
	ld ixl,20h

	ld iyh,a
	ld iyh,b
	ld iyh,c
	ld iyh,d
	ld iyh,e
	ld iyh,iyh
	ld iyh,iyl
	ld iyh,20h

	ld iyl,a
	ld iyl,b
	ld iyl,c
	ld iyl,d
	ld iyl,e
	ld iyl,iyh
	ld iyl,iyl
	ld iyl,20h

	inc ixh
	inc ixl
	inc iyh
	inc iyl
	dec ixh
	dec ixl
	dec iyh
	dec iyl

	add a,ixh
	add a,ixl
	add a,iyh
	add a,iyl

	adc a,ixh
	adc a,ixl
	adc a,iyh
	adc a,iyl

	sbc a, ixh
	sbc a, ixl
	sbc a, iyh
	sbc a, iyl

	sub ixh
	sub ixl
	sub iyh
	sub iyl

	and ixh
	and ixl
	and iyh
	and iyl

	xor ixh
	xor ixl
	xor iyh
	xor iyl

	or ixh
	or ixl
	or iyh
	or iyl

	cp ixh
	cp ixl
	cp iyh
	cp iyl

	sll a
	sll b
	sll c
	sll d
	sll e
	sll h
	sll l
	sll (hl)

	sll (ix+20h)
	sll (iy+20h)

	end