comparison 68kinst.h @ 518:775802dab98f

Refactor debugger next command
author Mike Pavone <pavone@retrodev.com>
date Sun, 09 Feb 2014 12:35:27 -0800
parents 140af5509ce7
children 47123183c336
comparison
equal deleted inserted replaced
517:3fc1d145493c 518:775802dab98f
1 /* 1 /*
2 Copyright 2013 Michael Pavone 2 Copyright 2013 Michael Pavone
3 This file is part of BlastEm. 3 This file is part of BlastEm.
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
5 */ 5 */
6 #ifndef M68KINST_H_ 6 #ifndef M68KINST_H_
7 #define M68KINST_H_ 7 #define M68KINST_H_
8 8
228 VECTOR_TRAP_14, 228 VECTOR_TRAP_14,
229 VECTOR_TRAP_15 229 VECTOR_TRAP_15
230 } m68k_vector; 230 } m68k_vector;
231 231
232 uint16_t * m68k_decode(uint16_t * istream, m68kinst * dst, uint32_t address); 232 uint16_t * m68k_decode(uint16_t * istream, m68kinst * dst, uint32_t address);
233 uint32_t m68k_cycles(m68kinst * inst); 233 uint32_t m68k_branch_target(m68kinst * inst, uint32_t *dregs, uint32_t *aregs);
234 uint8_t m68k_is_branch(m68kinst * inst);
235 uint8_t m68k_is_noncall_branch(m68kinst * inst);
234 int m68k_disasm(m68kinst * decoded, char * dst); 236 int m68k_disasm(m68kinst * decoded, char * dst);
235 int m68k_disasm_labels(m68kinst * decoded, char * dst); 237 int m68k_disasm_labels(m68kinst * decoded, char * dst);
236 238
237 #endif 239 #endif
238 240