comparison m68k_internal.h @ 987:1f09994e92c5

Initial stab at implementing address error exceptions. Need to fill in the value of IR, undefined bits of last stack frame word and properly deal with address errors that occur during exception processing.
author Michael Pavone <pavone@retrodev.com>
date Tue, 26 Apr 2016 23:13:37 -0700
parents f680fe746a7d
children 33a46d35b913
comparison
equal deleted inserted replaced
986:f680fe746a7d 987:1f09994e92c5
31 void calc_index_disp8(m68k_options *opts, m68k_op_info *op, uint8_t native_reg); 31 void calc_index_disp8(m68k_options *opts, m68k_op_info *op, uint8_t native_reg);
32 void calc_areg_index_disp8(m68k_options *opts, m68k_op_info *op, uint8_t native_reg); 32 void calc_areg_index_disp8(m68k_options *opts, m68k_op_info *op, uint8_t native_reg);
33 void nop_fill_or_jmp_next(code_info *code, code_ptr old_end, code_ptr next_inst); 33 void nop_fill_or_jmp_next(code_info *code, code_ptr old_end, code_ptr next_inst);
34 void check_user_mode_swap_ssp_usp(m68k_options *opts); 34 void check_user_mode_swap_ssp_usp(m68k_options *opts);
35 void m68k_set_last_prefetch(m68k_options *opts, uint32_t address); 35 void m68k_set_last_prefetch(m68k_options *opts, uint32_t address);
36 void translate_m68k_odd(m68k_options *opts, m68kinst *inst);
36 37
37 //functions implemented in m68k_core.c 38 //functions implemented in m68k_core.c
38 int8_t native_reg(m68k_op_info * op, m68k_options * opts); 39 int8_t native_reg(m68k_op_info * op, m68k_options * opts);
39 size_t dreg_offset(uint8_t reg); 40 size_t dreg_offset(uint8_t reg);
40 size_t areg_offset(uint8_t reg); 41 size_t areg_offset(uint8_t reg);