Commit | Line | Data |
---|---|---|
6655dba2 SB |
1 | .text |
2 | .org 0 | |
3 | ;; Zylog Z180 instructions | |
4 | ||
5 | ; IN0 group | |
6 | in0 a,(0x5) | |
7 | in0 b,(0x5) | |
8 | in0 c,(0x5) | |
9 | in0 d,(0x5) | |
10 | in0 e,(0x5) | |
11 | in0 h,(0x5) | |
12 | in0 l,(0x5) | |
13 | ||
14 | ; OUT0 group | |
15 | out0 (0x5),a | |
16 | out0 (0x5),b | |
17 | out0 (0x5),c | |
18 | out0 (0x5),d | |
19 | out0 (0x5),e | |
20 | out0 (0x5),h | |
21 | out0 (0x5),l | |
22 | ||
23 | ; MLT group | |
24 | mlt bc | |
25 | mlt de | |
26 | mlt hl | |
27 | mlt sp | |
28 | ||
29 | ; TST group | |
30 | tst a | |
31 | tst b | |
32 | tst c | |
33 | tst d | |
34 | tst e | |
35 | tst h | |
36 | tst l | |
37 | tst (hl) | |
38 | tst 0fh | |
39 | ||
40 | ; TSTIO instruction | |
41 | tstio 0f0h | |
42 | ||
43 | ; SLP instruction | |
44 | slp | |
45 | ||
46 | ; Additional block I/O instructions | |
47 | OTIM | |
48 | OTDM | |
49 | OTIMR | |
50 | OTDMR |