Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1186 | savelij | 1 | cpu 8080 |
2 | page 0 |
||
3 | z80syntax on |
||
4 | |||
5 | mov a,a |
||
6 | ld a,a |
||
7 | |||
8 | mov a,b |
||
9 | ld a,b |
||
10 | |||
11 | mov a,c |
||
12 | ld a,c |
||
13 | |||
14 | mov a,d |
||
15 | ld a,d |
||
16 | |||
17 | mov a,e |
||
18 | ld a,e |
||
19 | |||
20 | mov a,h |
||
21 | ld a,h |
||
22 | |||
23 | mov a,l |
||
24 | ld a,l |
||
25 | |||
26 | mov a,m |
||
27 | ld a,(hl) |
||
28 | |||
29 | ldax b |
||
30 | ld a,(bc) |
||
31 | |||
32 | ldax d |
||
33 | ld a,(de) |
||
34 | |||
35 | lda 1234h |
||
36 | ld a,(1234h) |
||
37 | |||
38 | mov b,a |
||
39 | ld b,a |
||
40 | |||
41 | mov b,b |
||
42 | ld b,b |
||
43 | |||
44 | mov b,c |
||
45 | ld b,c |
||
46 | |||
47 | mov b,d |
||
48 | ld b,d |
||
49 | |||
50 | mov b,e |
||
51 | ld b,e |
||
52 | |||
53 | mov b,h |
||
54 | ld b,h |
||
55 | |||
56 | mov b,l |
||
57 | ld b,l |
||
58 | |||
59 | mov b,m |
||
60 | ld b,(hl) |
||
61 | |||
62 | mov c,a |
||
63 | ld c,a |
||
64 | |||
65 | mov c,b |
||
66 | ld c,b |
||
67 | |||
68 | mov c,c |
||
69 | ld c,c |
||
70 | |||
71 | mov c,d |
||
72 | ld c,d |
||
73 | |||
74 | mov c,e |
||
75 | ld c,e |
||
76 | |||
77 | mov c,h |
||
78 | ld c,h |
||
79 | |||
80 | mov c,l |
||
81 | ld c,l |
||
82 | |||
83 | mov c,m |
||
84 | ld c,(hl) |
||
85 | |||
86 | mov d,a |
||
87 | ld d,a |
||
88 | |||
89 | mov d,b |
||
90 | ld d,b |
||
91 | |||
92 | mov d,c |
||
93 | ld d,c |
||
94 | |||
95 | mov d,d |
||
96 | ld d,d |
||
97 | |||
98 | mov d,e |
||
99 | ld d,e |
||
100 | |||
101 | mov d,h |
||
102 | ld d,h |
||
103 | |||
104 | mov d,l |
||
105 | ld d,l |
||
106 | |||
107 | mov d,m |
||
108 | ld d,(hl) |
||
109 | |||
110 | mov e,a |
||
111 | ld e,a |
||
112 | |||
113 | mov e,b |
||
114 | ld e,b |
||
115 | |||
116 | mov e,c |
||
117 | ld e,c |
||
118 | |||
119 | mov e,d |
||
120 | ld e,d |
||
121 | |||
122 | mov e,e |
||
123 | ld e,e |
||
124 | |||
125 | mov e,h |
||
126 | ld e,h |
||
127 | |||
128 | mov e,l |
||
129 | ld e,l |
||
130 | |||
131 | mov e,m |
||
132 | ld e,(hl) |
||
133 | |||
134 | mov h,a |
||
135 | ld h,a |
||
136 | |||
137 | mov h,b |
||
138 | ld h,b |
||
139 | |||
140 | mov h,c |
||
141 | ld h,c |
||
142 | |||
143 | mov h,d |
||
144 | ld h,d |
||
145 | |||
146 | mov h,e |
||
147 | ld h,e |
||
148 | |||
149 | mov h,h |
||
150 | ld h,h |
||
151 | |||
152 | mov h,l |
||
153 | ld h,l |
||
154 | |||
155 | mov h,m |
||
156 | ld h,(hl) |
||
157 | |||
158 | mov l,a |
||
159 | ld l,a |
||
160 | |||
161 | mov l,b |
||
162 | ld l,b |
||
163 | |||
164 | mov l,c |
||
165 | ld l,c |
||
166 | |||
167 | mov l,d |
||
168 | ld l,d |
||
169 | |||
170 | mov l,e |
||
171 | ld l,e |
||
172 | |||
173 | mov l,h |
||
174 | ld l,h |
||
175 | |||
176 | mov l,l |
||
177 | ld l,l |
||
178 | |||
179 | mov l,m |
||
180 | ld l,(hl) |
||
181 | |||
182 | mov m,a |
||
183 | ld (hl),a |
||
184 | |||
185 | mov m,b |
||
186 | ld (hl),b |
||
187 | |||
188 | mov m,c |
||
189 | ld (hl),c |
||
190 | |||
191 | mov m,d |
||
192 | ld (hl),d |
||
193 | |||
194 | mov m,e |
||
195 | ld (hl),e |
||
196 | |||
197 | mov m,h |
||
198 | ld (hl),h |
||
199 | |||
200 | mov m,l |
||
201 | ld (hl),l |
||
202 | |||
203 | mvi a,12h |
||
204 | ld a,12h |
||
205 | |||
206 | mvi b,12h |
||
207 | ld b,12h |
||
208 | |||
209 | mvi c,12h |
||
210 | ld c,12h |
||
211 | |||
212 | mvi d,12h |
||
213 | ld d,12h |
||
214 | |||
215 | mvi e,12h |
||
216 | ld e,12h |
||
217 | |||
218 | mvi h,12h |
||
219 | ld h,12h |
||
220 | |||
221 | mvi l,12h |
||
222 | ld l,12h |
||
223 | |||
224 | mvi m,12h |
||
225 | ld (hl),12h |
||
226 | |||
227 | stax b |
||
228 | ld (bc),a |
||
229 | |||
230 | stax d |
||
231 | ld (de),a |
||
232 | |||
233 | sta 1234h |
||
234 | ld (1234h),a |
||
235 | |||
236 | lxi b,1234h |
||
237 | ld bc,1234h |
||
238 | |||
239 | lxi d,1234h |
||
240 | ld de,1234h |
||
241 | |||
242 | lxi h,1234h |
||
243 | ld hl,1234h |
||
244 | |||
245 | lxi sp,1234h |
||
246 | ld sp,1234h |
||
247 | |||
248 | lhld 1234h |
||
249 | ld hl,(1234h) |
||
250 | |||
251 | shld 1234h |
||
252 | ld (1234h),hl |
||
253 | |||
254 | sphl |
||
255 | ld sp,hl |
||
256 | |||
257 | xchg |
||
258 | ex de,hl |
||
259 | ex hl,de |
||
260 | |||
261 | xthl |
||
262 | ex (sp),hl |
||
263 | ex hl,(sp) |
||
264 | |||
265 | add a |
||
266 | add a,a |
||
267 | |||
268 | add b |
||
269 | add a,b |
||
270 | |||
271 | add c |
||
272 | add a,c |
||
273 | |||
274 | add d |
||
275 | add a,d |
||
276 | |||
277 | add e |
||
278 | add a,e |
||
279 | |||
280 | add h |
||
281 | add a,h |
||
282 | |||
283 | add l |
||
284 | add a,l |
||
285 | |||
286 | add m |
||
287 | add a,(hl) |
||
288 | |||
289 | adi 12h |
||
290 | add a,12h |
||
291 | |||
292 | adc a |
||
293 | adc a,a |
||
294 | |||
295 | adc b |
||
296 | adc a,b |
||
297 | |||
298 | adc c |
||
299 | adc a,c |
||
300 | |||
301 | adc d |
||
302 | adc a,d |
||
303 | |||
304 | adc e |
||
305 | adc a,e |
||
306 | |||
307 | adc h |
||
308 | adc a,h |
||
309 | |||
310 | adc l |
||
311 | adc a,l |
||
312 | |||
313 | adc m |
||
314 | adc a,(hl) |
||
315 | |||
316 | aci 12h |
||
317 | adc a,12h |
||
318 | |||
319 | sub a |
||
320 | sub a,a |
||
321 | |||
322 | sub b |
||
323 | sub a,b |
||
324 | |||
325 | sub c |
||
326 | sub a,c |
||
327 | |||
328 | sub d |
||
329 | sub a,d |
||
330 | |||
331 | sub e |
||
332 | sub a,e |
||
333 | |||
334 | sub h |
||
335 | sub a,h |
||
336 | |||
337 | sub l |
||
338 | sub a,l |
||
339 | |||
340 | sub m |
||
341 | sub (hl) |
||
342 | sub a,(hl) |
||
343 | |||
344 | sui 12h |
||
345 | sub 12h |
||
346 | sub a,12h |
||
347 | |||
348 | sbb a |
||
349 | sbc a |
||
350 | sbc a,a |
||
351 | |||
352 | sbb b |
||
353 | sbc b |
||
354 | sbc a,b |
||
355 | |||
356 | sbb c |
||
357 | sbc c |
||
358 | sbc a,c |
||
359 | |||
360 | sbb d |
||
361 | sbc d |
||
362 | sbc a,d |
||
363 | |||
364 | sbb e |
||
365 | sbc e |
||
366 | sbc a,e |
||
367 | |||
368 | sbb h |
||
369 | sbc h |
||
370 | sbc a,h |
||
371 | |||
372 | sbb l |
||
373 | sbc l |
||
374 | sbc a,l |
||
375 | |||
376 | sbb m |
||
377 | sbc (hl) |
||
378 | sbc a,(hl) |
||
379 | |||
380 | sbi 12h |
||
381 | sbc 12h |
||
382 | sbc a,12h |
||
383 | |||
384 | dad b |
||
385 | add hl,bc |
||
386 | |||
387 | dad d |
||
388 | add hl,de |
||
389 | |||
390 | dad h |
||
391 | add hl,hl |
||
392 | |||
393 | dad sp |
||
394 | add hl,sp |
||
395 | |||
396 | inr a |
||
397 | inc a |
||
398 | |||
399 | inr b |
||
400 | inc b |
||
401 | |||
402 | inr c |
||
403 | inc c |
||
404 | |||
405 | inr d |
||
406 | inc d |
||
407 | |||
408 | inr e |
||
409 | inc e |
||
410 | |||
411 | inr h |
||
412 | inc h |
||
413 | |||
414 | inr l |
||
415 | inc l |
||
416 | |||
417 | inr m |
||
418 | inc (hl) |
||
419 | |||
420 | dcr a |
||
421 | dec a |
||
422 | |||
423 | dcr b |
||
424 | dec b |
||
425 | |||
426 | dcr c |
||
427 | dec c |
||
428 | |||
429 | dcr d |
||
430 | dec d |
||
431 | |||
432 | dcr e |
||
433 | dec e |
||
434 | |||
435 | dcr h |
||
436 | dec h |
||
437 | |||
438 | dcr l |
||
439 | dec l |
||
440 | |||
441 | dcr m |
||
442 | dec (hl) |
||
443 | |||
444 | inx b |
||
445 | inc bc |
||
446 | |||
447 | inx d |
||
448 | inc de |
||
449 | |||
450 | inx h |
||
451 | inc hl |
||
452 | |||
453 | inx sp |
||
454 | inc sp |
||
455 | |||
456 | dcx b |
||
457 | dec bc |
||
458 | |||
459 | dcx d |
||
460 | dec de |
||
461 | |||
462 | dcx h |
||
463 | dec hl |
||
464 | |||
465 | dcx sp |
||
466 | dec sp |
||
467 | |||
468 | cma |
||
469 | cpl |
||
470 | |||
471 | stc |
||
472 | scf |
||
473 | |||
474 | cmc |
||
475 | ccf |
||
476 | |||
477 | rlc |
||
478 | rlca |
||
479 | |||
480 | rrc |
||
481 | rrca |
||
482 | |||
483 | ral |
||
484 | rla |
||
485 | |||
486 | rar |
||
487 | rra |
||
488 | |||
489 | ana a |
||
490 | and a |
||
491 | and a,a |
||
492 | |||
493 | ana b |
||
494 | and b |
||
495 | and a,b |
||
496 | |||
497 | ana c |
||
498 | and c |
||
499 | and a,c |
||
500 | |||
501 | ana d |
||
502 | and d |
||
503 | and a,d |
||
504 | |||
505 | ana e |
||
506 | and e |
||
507 | and a,e |
||
508 | |||
509 | ana h |
||
510 | and h |
||
511 | and a,h |
||
512 | |||
513 | ana l |
||
514 | and l |
||
515 | and a,l |
||
516 | |||
517 | ana m |
||
518 | and (hl) |
||
519 | and a,(hl) |
||
520 | |||
521 | ani 12h |
||
522 | and 12h |
||
523 | and a,12h |
||
524 | |||
525 | xra a |
||
526 | xor a |
||
527 | xor a,a |
||
528 | |||
529 | xra b |
||
530 | xor b |
||
531 | xor a,b |
||
532 | |||
533 | xra c |
||
534 | xor c |
||
535 | xor a,c |
||
536 | |||
537 | xra d |
||
538 | xor d |
||
539 | xor a,d |
||
540 | |||
541 | xra e |
||
542 | xor e |
||
543 | xor a,e |
||
544 | |||
545 | xra h |
||
546 | xor h |
||
547 | xor a,h |
||
548 | |||
549 | xra l |
||
550 | xor l |
||
551 | xor a,l |
||
552 | |||
553 | xra m |
||
554 | xor (hl) |
||
555 | xor a,(hl) |
||
556 | |||
557 | xri 12h |
||
558 | xor 12h |
||
559 | xor a,12h |
||
560 | |||
561 | ora a |
||
562 | or a |
||
563 | or a,a |
||
564 | |||
565 | ora b |
||
566 | or b |
||
567 | or a,b |
||
568 | |||
569 | ora c |
||
570 | or c |
||
571 | or a,c |
||
572 | |||
573 | ora d |
||
574 | or d |
||
575 | or a,d |
||
576 | |||
577 | ora e |
||
578 | or e |
||
579 | or a,e |
||
580 | |||
581 | ora h |
||
582 | or h |
||
583 | or a,h |
||
584 | |||
585 | ora l |
||
586 | or l |
||
587 | or a,l |
||
588 | |||
589 | ora m |
||
590 | or (hl) |
||
591 | or a,(hl) |
||
592 | |||
593 | ori 12h |
||
594 | or 12h |
||
595 | or a,12h |
||
596 | |||
597 | cmp a |
||
598 | cp a |
||
599 | cp a,a |
||
600 | |||
601 | cmp b |
||
602 | cp b |
||
603 | cp a,b |
||
604 | |||
605 | cmp c |
||
606 | cp c |
||
607 | cp a,c |
||
608 | |||
609 | cmp d |
||
610 | cp d |
||
611 | cp a,d |
||
612 | |||
613 | cmp e |
||
614 | cp e |
||
615 | cp a,e |
||
616 | |||
617 | cmp h |
||
618 | cp h |
||
619 | cp a,h |
||
620 | |||
621 | cmp l |
||
622 | cp l |
||
623 | cp a,l |
||
624 | |||
625 | cmp m |
||
626 | cp (hl) |
||
627 | cp a,(hl) |
||
628 | |||
629 | cpi 12h |
||
630 | ;cp 12h ; leave this out since CP <addr> is call-on-positive <addr> on 8080 |
||
631 | cp a,12h |
||
632 | |||
633 | jmp 1234h |
||
634 | ;jp 1234h ; leave this out since JP <addr> is jump-on-positive <addr> on 8080 |
||
635 | j 1234h |
||
636 | |||
637 | jnz 1234h |
||
638 | jp nz,1234h |
||
639 | j nz,1234h |
||
640 | |||
641 | jz 1234h |
||
642 | jp z,1234h |
||
643 | j z,1234h |
||
644 | |||
645 | jnc 1234h |
||
646 | jp nc,1234h |
||
647 | j nc,1234h |
||
648 | |||
649 | jc 1234h |
||
650 | jp c,1234h |
||
651 | j c,1234h |
||
652 | |||
653 | jpo 1234h |
||
654 | jp po,1234h |
||
655 | j po,1234h |
||
656 | |||
657 | jpe 1234h |
||
658 | jp pe,1234h |
||
659 | j pe,1234h |
||
660 | |||
661 | jp 1234h |
||
662 | jp p,1234h |
||
663 | j p,1234h |
||
664 | |||
665 | jm 1234h |
||
666 | jp m,1234h |
||
667 | j m,1234h |
||
668 | |||
669 | pchl |
||
670 | jp (hl) |
||
671 | j (hl) |
||
672 | |||
673 | call 1234h |
||
674 | |||
675 | cnz 1234h |
||
676 | call nz,1234h |
||
677 | |||
678 | cz 1234h |
||
679 | call z,1234h |
||
680 | |||
681 | cnc 1234h |
||
682 | call nc,1234h |
||
683 | |||
684 | cc 1234h |
||
685 | call c,1234h |
||
686 | |||
687 | cpo 1234h |
||
688 | call po,1234h |
||
689 | |||
690 | cpe 1234h |
||
691 | call pe,1234h |
||
692 | |||
693 | cp 1234h |
||
694 | call p,1234h |
||
695 | |||
696 | cm 1234h |
||
697 | call m,1234h |
||
698 | |||
699 | ret |
||
700 | |||
701 | rnz |
||
702 | ret nz |
||
703 | |||
704 | rz |
||
705 | ret z |
||
706 | |||
707 | rnc |
||
708 | ret nc |
||
709 | |||
710 | rc |
||
711 | ret c |
||
712 | |||
713 | rpo |
||
714 | ret po |
||
715 | |||
716 | rpe |
||
717 | ret pe |
||
718 | |||
719 | rp |
||
720 | ret p |
||
721 | |||
722 | rm |
||
723 | ret m |
||
724 | |||
725 | rst 0 |
||
726 | rst 00h |
||
727 | |||
728 | rst 1 |
||
729 | rst 08h |
||
730 | |||
731 | rst 2 |
||
732 | rst 10h |
||
733 | |||
734 | rst 3 |
||
735 | rst 18h |
||
736 | |||
737 | rst 4 |
||
738 | rst 20h |
||
739 | |||
740 | rst 5 |
||
741 | rst 28h |
||
742 | |||
743 | rst 6 |
||
744 | rst 30h |
||
745 | |||
746 | rst 7 |
||
747 | rst 38h |
||
748 | |||
749 | push b |
||
750 | push bc |
||
751 | |||
752 | push d |
||
753 | push de |
||
754 | |||
755 | push h |
||
756 | push hl |
||
757 | |||
758 | push psw |
||
759 | push af |
||
760 | |||
761 | pop b |
||
762 | pop bc |
||
763 | |||
764 | pop d |
||
765 | pop de |
||
766 | |||
767 | pop h |
||
768 | pop hl |
||
769 | |||
770 | pop psw |
||
771 | pop af |
||
772 | |||
773 | in 56h |
||
774 | in a,(56h) |
||
775 | |||
776 | out 56h |
||
777 | out (56h),a |
||
778 | |||
779 | hlt |
||
780 | halt |
||
781 | |||
782 | cpu 8085 |
||
783 | z80syntax on |
||
784 | |||
785 | rim |
||
786 | ld a,im |
||
787 | |||
788 | sim |
||
789 | ld im,a |
||
790 | |||
791 | cpu 8085undoc |
||
792 | z80syntax on |
||
793 | |||
794 | lhlx |
||
795 | ld hl,(de) |
||
796 | |||
797 | shlx |
||
798 | ld (de),hl |
||
799 | |||
800 | dsub |
||
801 | sub hl,bc |
||
802 | |||
803 | arhl |
||
804 | sra hl |
||
805 | |||
806 | rdel |
||
807 | rlc de |
||
808 | |||
809 | jx5 1234h |
||
810 | jp x5,1234h |
||
811 | |||
812 | jnx5 1234h |
||
813 | jp nx5,1234h |
||
814 | |||
815 | rstv |
||
816 | rst v |
||
817 | |||
818 | ldhi 12h |
||
819 | add de,hl,12h |
||
820 | |||
821 | ldsi 12h |
||
822 | add de,sp,12h |