130 Commits (de3fb86f35b8cf59d7da770ce9b256ede6956e18)

Author SHA1 Message Date
Peter Johnson 79326b3d29 EQU's should not affect local label mechanism. 23 years ago
Peter Johnson a3a9fd2aa0 Completely revamp how label resolution is done (part of Bug#6). Now calculates 23 years ago
Peter Johnson ed2bbe525c Fix %line handling. 23 years ago
Peter Johnson 19569a8d6a Allow one-digit hex-constants of the form "0h". 23 years ago
Peter Johnson 70442d8b7f Make "TO" a x86 targetmod. 23 years ago
Peter Johnson 035fea119a Add explicit $(top_builddir) when running re2c. 23 years ago
Peter Johnson 3320945f95 Massive restructuring of lexing and parsing (NASM-compatible parser). 23 years ago
Peter Johnson 44dbd8a872 Remove debugging print statement added in previous commit. 23 years ago
Peter Johnson 62ece541a0 Make call instruction work correctly. The old code generated a legal short 23 years ago
Peter Johnson 07c3299820 Add bin object format. 23 years ago
Michael Urman 7c073b5c23 Add const char *in_filename arguments to 23 years ago
Peter Johnson 90625f71e1 Add semicolon at end of error handling code to fix syntax errors. Only seen 23 years ago
Peter Johnson ef3eff4f62 Enhance error/warning framework by allowing specific warnings to be disabled, 23 years ago
Peter Johnson 044cc90233 Make jcc's default to JR_SHORT in NASM syntax, and test for this possibility 24 years ago
Peter Johnson 3f2186c1bf Change from current file/line dual storage to a monotonically-increasing line 24 years ago
Peter Johnson ac056aa1fc Fix issues with yy->nasm_parser_ renaming. AM_YFLAGS/AM_LFLAGS are not an 24 years ago
Peter Johnson 90864f6793 Bring up-to-date with new generated files (due to new build structure). 24 years ago
Peter Johnson ca6a1c8167 Massive build system change: single Makefile instead of recursive. 24 years ago
Peter Johnson ae85d1edb1 Add support for incbin pseudo-instruction. 24 years ago
Peter Johnson b3cb8c0292 Move assert.h include to util.h 24 years ago
Peter Johnson c42294ab0a Fix a few LCLint errors. 24 years ago
Peter Johnson 8043dbfc16 Generate smaller code where possible (eg, when op_len=1, it's not necessary to 24 years ago
Peter Johnson 758edc89e7 Allow overrides (a32/a16/rep/etc) to appear on their own line. The way this 24 years ago
Peter Johnson 7b4e6c09dc Add support for NASM's %line. 24 years ago
Peter Johnson 83b996e8f4 Remove definition of line_number; it was overriding the global variable. 24 years ago
Peter Johnson a9a74064b4 Fix so "0h" works. 24 years ago
Peter Johnson cf84bbf503 Change REG_SOMEREG -> reg_somereg and add rules that allow BYTE/WORD/DWORD 24 years ago
Peter Johnson ff1fba3feb Fix bug with ONE generation (overwrote both [0] and [1] indexes with opcode 24 years ago
Peter Johnson b930d117d3 Polish up most directive support. This necessitated adding objfmt-specific 24 years ago
Peter Johnson bd921434cb Don't do REG_E?AX combining with reg8/reg8x instructions, to allow things like 24 years ago
Peter Johnson d894c27cca Fix hexidecimal number handling. It was only allowing numbers starting with 0. 24 years ago
Peter Johnson 94a5e7fe03 Revert previous changes (which turned on -v), it was accidentally committed. 24 years ago
Peter Johnson 9c7469116d Fix a memory re-free issue in nasm_parser_directive(). vp->param was passed 24 years ago
Peter Johnson 8cbf2c2312 - Greatly enhance capabilities of directives (they're actually parsed now). 24 years ago
Peter Johnson c7e3ad29e9 Don't set nasm_parser_debug (as we'll soon not define YYDEBUG in bison.y.in). 24 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 24 years ago
Peter Johnson f58d7cb093 Split x86-specific stuff away from bytecode. 24 years ago
Peter Johnson 65810babc4 Change PERL line to reflect instrs.dat move. 24 years ago
Peter Johnson c9d92847b6 Start framework for separating architecture-dependent functions and data 24 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 24 years ago
Peter Johnson 1d26b1de84 Fix directive memory leaks in a different way; the old way broke name/val 24 years ago
Peter Johnson 4d95de5161 Plug memory leaks, and enhance finding later ones with *_delete functions. 24 years ago
Peter Johnson adf5a95e89 Add option for malloc debugging using dmalloc library (http://dmalloc.com/). 24 years ago
Peter Johnson e7bab50cf2 Parse NOSPLIT. 24 years ago
Peter Johnson df1245459f Add parsing of memory expressions. Currently adds a lot of duplication for 24 years ago
Peter Johnson 8149291eca Add expr_contains_float() and symrec_get_equ() functions. These are the first 24 years ago
Peter Johnson 1708da018a Don't allow floats to be used as targets of jumps. 24 years ago
Peter Johnson 84de990744 Support TIMES prefix. Split expr parsing to have a no-float and no-string 24 years ago
Peter Johnson 256511eea8 Fix conficts created when adding EQU. 24 years ago
Peter Johnson 079c17a068 Fix handling of numeric constants ending in a single character (h,q,b). 24 years ago