174 Commits (d854f4cf9f21b4d0d8707ce8b48c96a908e9f909)

Author SHA1 Message Date
Peter Johnson c855e4061e Move static structures from .h to .c, include .h in .l. 23 years ago
Peter Johnson 4933f17355 Fix warning. 23 years ago
Peter Johnson 07c3299820 Add bin object format. 23 years ago
Michael Urman 4818dbe555 Fixed some warnings. 23 years ago
Michael Urman 7c073b5c23 Add const char *in_filename arguments to 23 years ago
Michael Urman 2d0615384d YAPP has arrived. 23 years ago
Michael Urman 6b65e7a522 Update main files to include support for yapp. 23 years ago
Peter Johnson 5d2e9ea0f0 Allow preprocess-only and setting of preproc. Update main() and related 23 years ago
Peter Johnson 0177d689a1 Revamp object format functional interface a bit. Now, only the output() 23 years ago
Peter Johnson a0d61f00c1 Enable second pass (resolve/calculate known values). 23 years ago
Peter Johnson f5bf04dd41 Include errwarn.h to declare ErrorAt(). 23 years ago
Peter Johnson 964c755067 Indicate actual line number of circular reference error. 23 years ago
Peter Johnson 7217fd10db Bring up-to-date with traverse function changes. Start trying to check for 23 years ago
Peter Johnson 4f7daa4d39 Fix issue with how symrec's are handled when an expression is copied: old code 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 f61b5746f1 Don't compact into a short form if one's not available. 23 years ago
Peter Johnson 044cc90233 Make jcc's default to JR_SHORT in NASM syntax, and test for this possibility 23 years ago
Peter Johnson 056b3fc52c Finish bc_calc_len(), with fixes to x86_bc_calc_len_insn()'s EA sizing calcs, 23 years ago
Peter Johnson 760e3c4d11 In optimize_bytecode(), calculate bc->offset *before* calling bc_calc_len(). 23 years ago
Peter Johnson 5b2166d50a Don't store "determined" immediate len and neg. Both will be determined from 23 years ago
Peter Johnson 4949569151 Fix memory leak. 23 years ago
Peter Johnson 3c0a749084 Rework resolve_label() and add a second pass. 23 years ago
Peter Johnson ee74365f05 Add new bc_resolve() family, and rewrite calc_len to /just/ calculate the 23 years ago
Peter Johnson cc635cc237 Change return type of calc_len() family back to int from unsigned long. 23 years ago
Peter Johnson 0276a2db37 - Use new symrec_get_label(). 23 years ago
Peter Johnson 985d4e9b59 LCLint cleanups. 23 years ago
Peter Johnson f243b4d652 Be nice for debugging purposes and set effaddr sib=0 even when it's not valid. 23 years ago
Peter Johnson e23d88b957 Make resolve_label() take a symrec * instead of a section * and bytecode *. 23 years ago
Peter Johnson e2f2ede90c bc_calc_len() family should return unsigned long, not int. 23 years ago
Peter Johnson 3f2186c1bf Change from current file/line dual storage to a monotonically-increasing line 23 years ago
Peter Johnson 73e3e69375 Add tests/Makefile.inc to EXTRA_DIST. 24 years ago
Peter Johnson f5358bb32e Change EXTRA_DIST to reflect movement of strsep.c and mergesort.c. 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 0caf84d85f Massive build system change: single Makefile instead of recursive. 24 years ago
Peter Johnson 2727869bd8 Start work on optimizer module. Moved all "post-parser-finalization" code 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 2aec833b07 Don't free EA when simplifying shift_op case. Not only is this code completely 24 years ago
Peter Johnson ff1fba3feb Fix bug with ONE generation (overwrote both [0] and [1] indexes with opcode 24 years ago
Peter Johnson a7ce9bf2d1 Delete dbg optimizer (won't be useful) and add "basic" (equiv. to NASM 2-pass) 24 years ago