Beispiel #1
0
static void orl_p2_n(void)	 { R.P2 |= M_RDMEM_OPCODE(); port_w(2, R.P2); }
Beispiel #2
0
static void mov_r7_n(void)	 { R7 = M_RDMEM_OPCODE(); }
Beispiel #3
0
static void orl_a_n(void)	 { R.A |= M_RDMEM_OPCODE(); }
Beispiel #4
0
static void mov_r3_n(void)	 { R3 = M_RDMEM_OPCODE(); }
Beispiel #5
0
static void mov_r5_n(void)	 { R5 = M_RDMEM_OPCODE(); }
Beispiel #6
0
static void mov_a_n(void)	 { R.A = M_RDMEM_OPCODE(); }
Beispiel #7
0
static void mov_r1_n(void)	 { R1 = M_RDMEM_OPCODE(); }
Beispiel #8
0
static void anl_p2_n(void)	 { R.P2 &= M_RDMEM_OPCODE(); port_w( 2, R.P2 ); }
Beispiel #9
0
static void anld_p4_a(void)	 { port_w( 4, port_r(4) & M_RDMEM_OPCODE() ); }
Beispiel #10
0
static void anl_bus_n(void)	 { bus_w( bus_r() & M_RDMEM_OPCODE() ); }
Beispiel #11
0
static void anl_p1_n(void)	 { R.P1 &= M_RDMEM_OPCODE(); port_w( 1, R.P1 ); }
Beispiel #12
0
static void anl_a_n(void)	 { R.A &= M_RDMEM_OPCODE(); }
Beispiel #13
0
static void adc_a_n(void)	 { M_ADDC(M_RDMEM_OPCODE()); }
Beispiel #14
0
static void add_a_n(void)	 { M_ADD(M_RDMEM_OPCODE()); }
Beispiel #15
0
static void jz(void)	 	 { UINT8 i=M_RDMEM_OPCODE(); if (R.A == 0)	 { R.PC.w.l = ((R.PC.w.l-1) & 0xf00) | i; change_pc(R.PC.w.l); } else ADJUST_CYCLES }
Beispiel #16
0
static void anld_p5_a(void)	 { port_w( 5, port_r(5) & M_RDMEM_OPCODE() ); }
Beispiel #17
0
static void jtf(void)	 	 { UINT8 i=M_RDMEM_OPCODE(); if (R.t_flag)	 { R.PC.w.l = ((R.PC.w.l-1) & 0xf00) | i; change_pc(R.PC.w.l); R.t_flag = 0; } else ADJUST_CYCLES }
Beispiel #18
0
static void anld_p6_a(void)	 { port_w( 6, port_r(6) & M_RDMEM_OPCODE() ); }
Beispiel #19
0
static void mov_r0_n(void)	 { R0 = M_RDMEM_OPCODE(); }
Beispiel #20
0
static void anld_p7_a(void)	 { port_w( 7, port_r(7) & M_RDMEM_OPCODE() ); }
Beispiel #21
0
static void mov_r2_n(void)	 { R2 = M_RDMEM_OPCODE(); }
Beispiel #22
0
static void call_7(void)	 { UINT8 i=M_RDMEM_OPCODE(); UINT16 a11 = (R.irq_executing == I8039_NO_INT) ? R.A11 : 0; M_CALL(i | 0x700 | a11); }
Beispiel #23
0
static void mov_r4_n(void)	 { R4 = M_RDMEM_OPCODE(); }
Beispiel #24
0
static void djnz_r7(void)	{ UINT8 i=M_RDMEM_OPCODE(); R7--; if (R7 != 0) { R.PC.w.l = ((R.PC.w.l-1) & 0xf00) | i; change_pc(R.PC.w.l); } else ADJUST_CYCLES }
Beispiel #25
0
static void mov_r6_n(void)	 { R6 = M_RDMEM_OPCODE(); }
Beispiel #26
0
static void jni(void)	 	 { UINT8 i=M_RDMEM_OPCODE(); if (R.irq_state == I8039_EXTERNAL_INT) { R.PC.w.l = ((R.PC.w.l-1) & 0xf00) | i; change_pc(R.PC.w.l); } else ADJUST_CYCLES }
Beispiel #27
0
static void mov_xr1_n(void)	 { intRAM[R1 & 0x7f] = M_RDMEM_OPCODE(); }
Beispiel #28
0
static void jt_1(void)	 	 { UINT8 i=M_RDMEM_OPCODE(); if (test_r(1))  { R.PC.w.l = ((R.PC.w.l-1) & 0xf00) | i; change_pc(R.PC.w.l); } else ADJUST_CYCLES }
Beispiel #29
0
static void orl_bus_n(void)	 { bus_w( bus_r() | M_RDMEM_OPCODE() ); }
Beispiel #30
0
static void orl_p1_n(void)	 { R.P1 |= M_RDMEM_OPCODE(); port_w(1, R.P1); }