Mercurial > hg-old > index.cgi
comparison lwasm/instab.c @ 225:058f18119025
Fixed filename parsing bug in include directive and added includebin directive
author | lost |
---|---|
date | Thu, 11 Jun 2009 23:29:15 +0000 |
parents | bae1e3ecdce1 |
children | 560843a951f7 |
comparison
equal
deleted
inserted
replaced
224:2e5a32d56e60 | 225:058f18119025 |
---|---|
78 extern OPFUNC(pseudo_extern); | 78 extern OPFUNC(pseudo_extern); |
79 extern OPFUNC(pseudo_export); | 79 extern OPFUNC(pseudo_export); |
80 extern OPFUNC(pseudo_ifdef); | 80 extern OPFUNC(pseudo_ifdef); |
81 extern OPFUNC(pseudo_ifndef); | 81 extern OPFUNC(pseudo_ifndef); |
82 extern OPFUNC(pseudo_noop); | 82 extern OPFUNC(pseudo_noop); |
83 extern OPFUNC(pseudo_includebin); | |
83 | 84 |
84 instab_t instab[] = | 85 instab_t instab[] = |
85 { | 86 { |
86 { "abx", { 0x3a, -0x1, -0x1, -0x1 }, insn_inh }, | 87 { "abx", { 0x3a, -0x1, -0x1, -0x1 }, insn_inh }, |
87 { "adca", { 0x99, 0xa9, 0xb9, 0x89 }, insn_gen8 }, | 88 { "adca", { 0x99, 0xa9, 0xb9, 0x89 }, insn_gen8 }, |
349 { "fdb", { -1, -1, -1, -1 }, pseudo_fdb }, | 350 { "fdb", { -1, -1, -1, -1 }, pseudo_fdb }, |
350 { "fqb", { -1, -1, -1, -1 }, pseudo_fqb }, | 351 { "fqb", { -1, -1, -1, -1 }, pseudo_fqb }, |
351 | 352 |
352 { "end", { -1, -1, -1, -1 }, pseudo_end }, | 353 { "end", { -1, -1, -1, -1 }, pseudo_end }, |
353 | 354 |
355 { "includebin", { -1, -1, -1, -1}, pseudo_includebin }, | |
354 { "include", { -1, -1, -1, -1 }, pseudo_include }, | 356 { "include", { -1, -1, -1, -1 }, pseudo_include }, |
355 | 357 |
356 { "align", { -1, -1, -1, -1 }, pseudo_align }, | 358 { "align", { -1, -1, -1, -1 }, pseudo_align }, |
357 | 359 |
358 { "error", { -1, -1, -1, -1}, pseudo_error }, | 360 { "error", { -1, -1, -1, -1}, pseudo_error }, |