143 Commits (587a05e3eb764a1b8ca683d342c4c8236a8ef683)

Author SHA1 Message Date
Peter Johnson 73e3e69375 Add tests/Makefile.inc to EXTRA_DIST. 23 years ago
Peter Johnson f5358bb32e Change EXTRA_DIST to reflect movement of strsep.c and mergesort.c. 23 years ago
Peter Johnson ac056aa1fc Fix issues with yy->nasm_parser_ renaming. AM_YFLAGS/AM_LFLAGS are not an 23 years ago
Peter Johnson 90864f6793 Bring up-to-date with new generated files (due to new build structure). 23 years ago
Peter Johnson ca6a1c8167 Massive build system change: single Makefile instead of recursive. 23 years ago
Peter Johnson 0caf84d85f Massive build system change: single Makefile instead of recursive. 23 years ago
Peter Johnson 2727869bd8 Start work on optimizer module. Moved all "post-parser-finalization" code 23 years ago
Peter Johnson ae85d1edb1 Add support for incbin pseudo-instruction. 23 years ago
Peter Johnson b3cb8c0292 Move assert.h include to util.h 23 years ago
Peter Johnson c42294ab0a Fix a few LCLint errors. 23 years ago
Peter Johnson 8043dbfc16 Generate smaller code where possible (eg, when op_len=1, it's not necessary to 23 years ago
Peter Johnson 758edc89e7 Allow overrides (a32/a16/rep/etc) to appear on their own line. The way this 23 years ago
Peter Johnson 7b4e6c09dc Add support for NASM's %line. 23 years ago
Peter Johnson 83b996e8f4 Remove definition of line_number; it was overriding the global variable. 23 years ago
Peter Johnson a9a74064b4 Fix so "0h" works. 23 years ago
Peter Johnson cf84bbf503 Change REG_SOMEREG -> reg_somereg and add rules that allow BYTE/WORD/DWORD 23 years ago
Peter Johnson 2aec833b07 Don't free EA when simplifying shift_op case. Not only is this code completely 23 years ago
Peter Johnson ff1fba3feb Fix bug with ONE generation (overwrote both [0] and [1] indexes with opcode 23 years ago
Peter Johnson a7ce9bf2d1 Delete dbg optimizer (won't be useful) and add "basic" (equiv. to NASM 2-pass) 23 years ago
Peter Johnson 825eaa5823 Massive cleanup of debugging output (via _print() functions). All now take 23 years ago
Peter Johnson b930d117d3 Polish up most directive support. This necessitated adding objfmt-specific 23 years ago
Peter Johnson bd921434cb Don't do REG_E?AX combining with reg8/reg8x instructions, to allow things like 23 years ago
Peter Johnson 9f63877c07 In bytecode_print(), fix checks for short/near opcode printouts. 23 years ago
Peter Johnson d894c27cca Fix hexidecimal number handling. It was only allowing numbers starting with 0. 23 years ago
Peter Johnson 94a5e7fe03 Revert previous changes (which turned on -v), it was accidentally committed. 23 years ago
Peter Johnson 9a84b66d1c Don't try to redefine a label for an already existing segment. Thus, add a 23 years ago
Peter Johnson 9c7469116d Fix a memory re-free issue in nasm_parser_directive(). vp->param was passed 23 years ago
Peter Johnson 8cbf2c2312 - Greatly enhance capabilities of directives (they're actually parsed now). 23 years ago
Peter Johnson ac65ee8770 Better LCLint settings for x86_bc_insn_get_ea(). 23 years ago
Peter Johnson c7e3ad29e9 Don't set nasm_parser_debug (as we'll soon not define YYDEBUG in bison.y.in). 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 23 years ago
Peter Johnson d7fe402fb9 Split away x86-specific parts of expression handling (eg, effective address -> 23 years ago
Peter Johnson a2bc46cb54 Fix file comment. 23 years ago
Peter Johnson f58d7cb093 Split x86-specific stuff away from bytecode. 23 years ago
Peter Johnson 65810babc4 Change PERL line to reflect instrs.dat move. 23 years ago
Peter Johnson c9d92847b6 Start framework for separating architecture-dependent functions and data 23 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 23 years ago
Peter Johnson 79e945c33c Optimize expression building a bit in expr_new() by eliminating IDENT's here. 23 years ago
Peter Johnson 00788fa80c Fix errors found in expr_level_op() and checkea_calc_displen() by new test 23 years ago
Peter Johnson 1d26b1de84 Fix directive memory leaks in a different way; the old way broke name/val 23 years ago
Peter Johnson 10fa8fadc1 Correctly process 32-bit memory expressions in expr_checkea(). 23 years ago
Peter Johnson 4d95de5161 Plug memory leaks, and enhance finding later ones with *_delete functions. 23 years ago
Peter Johnson dc1c3c70f5 Get rid of all the extra filename strdup()'s. (Bug #14). 23 years ago
Peter Johnson 7a6eaf8c03 Make InternalError() a bit easier to call. Also, reverse its file and line 23 years ago
Peter Johnson 6f708e3034 Add xfree() to replace calls to free(). 23 years ago
Peter Johnson adf5a95e89 Add option for malloc debugging using dmalloc library (http://dmalloc.com/). 23 years ago
Peter Johnson e7bab50cf2 Parse NOSPLIT. 23 years ago
Peter Johnson 121f93b0a0 *COMPLETELY* rewrite most of expression handling. 23 years ago
Peter Johnson 6a7504341f Add _copy() constructor. 23 years ago
Peter Johnson 68c9dcc62c Add several major functions, including effective address ModRM calculation 23 years ago