Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1186 | savelij | 1 | cpu v30 |
2 | page 0 |
||
3 | |||
4 | ; register names used by NEC |
||
5 | |||
6 | aw reg ax |
||
7 | bw reg bx |
||
8 | cw reg cx |
||
9 | dw reg dx |
||
10 | ix reg si |
||
11 | iy reg di |
||
12 | ps reg cs |
||
13 | ds0 reg ds |
||
14 | ds1 reg es |
||
15 | |||
16 | ins bh,bl |
||
17 | ins bh,7 |
||
18 | ext bh,bl |
||
19 | ext bh,7 |
||
20 | |||
21 | rol4 ah |
||
22 | rol4 [ix] |
||
23 | rol4 [1234h] |
||
24 | rol4 [bw+12h] |
||
25 | |||
26 | ror4 ah |
||
27 | ror4 [ix] |
||
28 | ror4 [1234h] |
||
29 | ror4 [bw+12h] |
||
30 | |||
31 | test1 ch,cl |
||
32 | test1 byte ptr[iy],cl |
||
33 | test1 cw,cl |
||
34 | test1 word ptr[iy],cl |
||
35 | test1 ch,6 |
||
36 | test1 byte ptr[iy],6 |
||
37 | test1 ch,10 |
||
38 | test1 byte ptr[iy],10 |
||
39 | test1 cw,10 |
||
40 | test1 word ptr[iy],10 |
||
41 | |||
42 | not1 ch,cl |
||
43 | not1 byte ptr[iy],cl |
||
44 | not1 cw,cl |
||
45 | not1 word ptr[iy],cl |
||
46 | not1 ch,6 |
||
47 | not1 byte ptr[iy],6 |
||
48 | not1 ch,10 |
||
49 | not1 byte ptr[iy],10 |
||
50 | not1 cw,10 |
||
51 | not1 word ptr[iy],10 |
||
52 | not1 cy ; = CMC (0f5h) |
||
53 | |||
54 | clr1 ch,cl |
||
55 | clr1 byte ptr[iy],cl |
||
56 | clr1 cw,cl |
||
57 | clr1 word ptr[iy],cl |
||
58 | clr1 ch,6 |
||
59 | clr1 byte ptr[iy],6 |
||
60 | clr1 ch,10 |
||
61 | clr1 byte ptr[iy],10 |
||
62 | clr1 cw,10 |
||
63 | clr1 word ptr[iy],10 |
||
64 | clr1 cy ; = CLC (0f8h) |
||
65 | |||
66 | set1 ch,cl |
||
67 | set1 byte ptr[iy],cl |
||
68 | set1 cw,cl |
||
69 | set1 word ptr[iy],cl |
||
70 | set1 ch,6 |
||
71 | set1 byte ptr[iy],6 |
||
72 | set1 ch,10 |
||
73 | set1 byte ptr[iy],10 |
||
74 | set1 cw,10 |
||
75 | set1 word ptr[iy],10 |
||
76 | set1 cy ; = SEC (0f5h) |
||
77 | |||
78 | fpo2 12 |
||
79 | fpo2 12,ch |
||
80 | fpo2 12,[bw] |
||
81 | fpo2 12,[1234h] |
||
82 | |||
83 | add4s |
||
84 | sub4s |
||
85 | cmp4s |
||
86 | |||
87 | brkem 23h |
||
88 | |||
89 | repc cmpsb |
||
90 | repnc cmpsw |