File:  [Isaki's NoNo m68k/m88k emulator] / nono / hd64180 / hd64180switch_ed.inc
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:05:18 2026 UTC (2 months, 3 weeks ago) by root
Branches: MAIN, Isaki
CVS tags: v027, v026, v025, v024, v023, v022, v021, v020, v019, v018, v017, HEAD
nono 0.5.0

	 case 0b00000000:	// 0x00
	 case 0b00001000:	// 0x08
	 case 0b00010000:	// 0x10
	 case 0b00011000:	// 0x18
	 case 0b00100000:	// 0x20
	 case 0b00101000:	// 0x28
	 case 0b00111000:	// 0x38
		OP_FUNC(in0_r_n);
		break;
	 case 0b00000001:	// 0x01
	 case 0b00001001:	// 0x09
	 case 0b00010001:	// 0x11
	 case 0b00011001:	// 0x19
	 case 0b00100001:	// 0x21
	 case 0b00101001:	// 0x29
	 case 0b00111001:	// 0x39
		OP_FUNC(out0_n_r);
		break;
	 case 0b00000100:	// 0x04
	 case 0b00001100:	// 0x0c
	 case 0b00010100:	// 0x14
	 case 0b00011100:	// 0x1c
	 case 0b00100100:	// 0x24
	 case 0b00101100:	// 0x2c
	 case 0b00111100:	// 0x3c
		OP_FUNC(tst_r);
		break;
	 case 0b00110000:	// 0x30
		OP_FUNC(in0_f_n);
		break;
	 case 0b00110100:	// 0x34
		OP_FUNC(tst_hlin);
		break;
	 case 0b01000000:	// 0x40
	 case 0b01001000:	// 0x48
	 case 0b01010000:	// 0x50
	 case 0b01011000:	// 0x58
	 case 0b01100000:	// 0x60
	 case 0b01101000:	// 0x68
	 case 0b01111000:	// 0x78
		OP_FUNC(in_r_c);
		break;
	 case 0b01000001:	// 0x41
	 case 0b01001001:	// 0x49
	 case 0b01010001:	// 0x51
	 case 0b01011001:	// 0x59
	 case 0b01100001:	// 0x61
	 case 0b01101001:	// 0x69
	 case 0b01111001:	// 0x79
		OP_FUNC(out_c_r);
		break;
	 case 0b01000010:	// 0x42
	 case 0b01010010:	// 0x52
	 case 0b01100010:	// 0x62
	 case 0b01110010:	// 0x72
		OP_FUNC(sbc_hl_ww);
		break;
	 case 0b01000011:	// 0x43
	 case 0b01010011:	// 0x53
	 case 0b01100011:	// 0x63
	 case 0b01110011:	// 0x73
		OP_FUNC(ld_nnin_ww);
		break;
	 case 0b01000100:	// 0x44
		OP_FUNC(neg);
		break;
	 case 0b01000101:	// 0x45
		OP_FUNC(retn);
		break;
	 case 0b01000110:	// 0x46
		OP_FUNC(im_0);
		break;
	 case 0b01000111:	// 0x47
		OP_FUNC(ld_i_a);
		break;
	 case 0b01001010:	// 0x4a
	 case 0b01011010:	// 0x5a
	 case 0b01101010:	// 0x6a
	 case 0b01111010:	// 0x7a
		OP_FUNC(adc_hl_ww);
		break;
	 case 0b01001011:	// 0x4b
	 case 0b01011011:	// 0x5b
	 case 0b01101011:	// 0x6b
	 case 0b01111011:	// 0x7b
		OP_FUNC(ld_ww_nnin);
		break;
	 case 0b01001100:	// 0x4c
	 case 0b01011100:	// 0x5c
	 case 0b01101100:	// 0x6c
	 case 0b01111100:	// 0x7c
		OP_FUNC(mlt);
		break;
	 case 0b01001101:	// 0x4d
		OP_FUNC(reti);
		break;
	 case 0b01001111:	// 0x4f
		OP_FUNC(ld_r_a);
		break;
	 case 0b01010110:	// 0x56
		OP_FUNC(im_1);
		break;
	 case 0b01010111:	// 0x57
		OP_FUNC(ld_a_i);
		break;
	 case 0b01011110:	// 0x5e
		OP_FUNC(im_2);
		break;
	 case 0b01011111:	// 0x5f
		OP_FUNC(ld_a_r);
		break;
	 case 0b01100100:	// 0x64
		OP_FUNC(tst_n);
		break;
	 case 0b01100111:	// 0x67
		OP_FUNC(rrd);
		break;
	 case 0b01101111:	// 0x6f
		OP_FUNC(rld);
		break;
	 case 0b01110000:	// 0x70
		OP_FUNC(in_f_c);
		break;
	 case 0b01110100:	// 0x74
		OP_FUNC(tstio_n);
		break;
	 case 0b01110110:	// 0x76
		OP_FUNC(slp);
		break;
	 case 0b10000011:	// 0x83
		OP_FUNC(otim);
		break;
	 case 0b10001011:	// 0x8b
		OP_FUNC(otdm);
		break;
	 case 0b10010011:	// 0x93
		OP_FUNC(otimr);
		break;
	 case 0b10011011:	// 0x9b
		OP_FUNC(otdmr);
		break;
	 case 0b10100000:	// 0xa0
		OP_FUNC(ldi);
		break;
	 case 0b10100001:	// 0xa1
		OP_FUNC(cpi);
		break;
	 case 0b10100010:	// 0xa2
		OP_FUNC(ini);
		break;
	 case 0b10100011:	// 0xa3
		OP_FUNC(outi);
		break;
	 case 0b10101000:	// 0xa8
		OP_FUNC(ldd);
		break;
	 case 0b10101001:	// 0xa9
		OP_FUNC(cpd);
		break;
	 case 0b10101010:	// 0xaa
		OP_FUNC(ind);
		break;
	 case 0b10101011:	// 0xab
		OP_FUNC(outd);
		break;
	 case 0b10110000:	// 0xb0
		OP_FUNC(ldir);
		break;
	 case 0b10110001:	// 0xb1
		OP_FUNC(cpir);
		break;
	 case 0b10110010:	// 0xb2
		OP_FUNC(inir);
		break;
	 case 0b10110011:	// 0xb3
		OP_FUNC(otir);
		break;
	 case 0b10111000:	// 0xb8
		OP_FUNC(lddr);
		break;
	 case 0b10111001:	// 0xb9
		OP_FUNC(cpdr);
		break;
	 case 0b10111010:	// 0xba
		OP_FUNC(indr);
		break;
	 case 0b10111011:	// 0xbb
		OP_FUNC(otdr);
		break;
	 case 0b11000001:	// 0xc1
	 case 0b11001001:	// 0xc9
	 case 0b11010001:	// 0xd1
	 case 0b11011001:	// 0xd9
	 case 0b11100001:	// 0xe1
	 case 0b11101001:	// 0xe9
	 case 0b11111001:	// 0xf9
		OP_FUNC(mulub_a_r);
		break;
	 case 0b11000011:	// 0xc3
		OP_FUNC(mulub_hl_bc);
		break;
	 case 0b11110011:	// 0xf3
		OP_FUNC(mulub_hl_sp);
		break;
	 case 0b11111111:	// 0xff
		OP_FUNC(syscall);
		break;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.