comparison gen.h @ 654:98927f1b005b

Fix some issues with 68K instruction retranslation
author Michael Pavone <pavone@retrodev.com>
date Thu, 01 Jan 2015 17:31:59 -0800
parents 1594525e2157
children 24ccfd70133a
comparison
equal deleted inserted replaced
653:a18e3923481e 654:98927f1b005b
15 typedef struct { 15 typedef struct {
16 code_ptr cur; 16 code_ptr cur;
17 code_ptr last; 17 code_ptr last;
18 } code_info; 18 } code_info;
19 19
20 void check_alloc_code(code_info *code, uint32_t inst_size);
21
20 void init_code_info(code_info *code); 22 void init_code_info(code_info *code);
21 void call(code_info *code, code_ptr fun); 23 void call(code_info *code, code_ptr fun);
22 void jmp(code_info *code, code_ptr dest); 24 void jmp(code_info *code, code_ptr dest);
23 void jmp_r(code_info *code, uint8_t dst); 25 void jmp_r(code_info *code, uint8_t dst);
24 26