comparison m68k_core_x86.c @ 1466:f2ee46d08b01

Push correct PC onto stack on divide by zero for pc-relative case
author Michael Pavone <pavone@retrodev.com>
date Wed, 13 Sep 2017 21:13:11 -0700
parents 5d41d0574863
children 5eb954b76e65
comparison
equal deleted inserted replaced
1465:5d41d0574863 1466:f2ee46d08b01
1906 switch(inst->src.addr_mode) 1906 switch(inst->src.addr_mode)
1907 { 1907 {
1908 case MODE_AREG_DISPLACE: 1908 case MODE_AREG_DISPLACE:
1909 case MODE_AREG_INDEX_DISP8: 1909 case MODE_AREG_INDEX_DISP8:
1910 case MODE_ABSOLUTE_SHORT: 1910 case MODE_ABSOLUTE_SHORT:
1911 case MODE_PC_DISPLACE:
1911 case MODE_PC_INDEX_DISP8: 1912 case MODE_PC_INDEX_DISP8:
1912 case MODE_IMMEDIATE: 1913 case MODE_IMMEDIATE:
1913 isize = 4; 1914 isize = 4;
1914 break; 1915 break;
1915 case MODE_ABSOLUTE: 1916 case MODE_ABSOLUTE: