summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-18added some docu to minianyAndreas Baumann
2021-07-18another test with c4 and a minic compilerAndreas Baumann
2020-09-18some work on functionsAndreas Baumann
2020-09-14build.sh: make gcc builds happy and use PICAndreas Baumann
2020-09-12updated LLVM test READMEAndreas Baumann
2020-09-03initializing list of expressions properly in parameter call generationAndreas Baumann
2020-09-03sorted out parameter push order on stackAndreas Baumann
2020-09-03fixes in parameter passingAndreas Baumann
- fixed order of parameters again (head is right to left already) - for now removed boolean parameters in test1.e, we have to handle 1 byte parameters correctly first
2020-09-01some more work on parameter checkingAndreas Baumann
2020-08-31..Andreas Baumann
2020-08-31parameter list as double linked list (work in progress)Andreas Baumann
2020-08-30asm-i386: fixed patchup of forward references (again)Andreas Baumann
2020-08-30emul: find illegal address references to opcodes (avoid endless loops)Andreas Baumann
2020-08-29fixed some uninitialized memoryAndreas Baumann
2020-08-29fixed a semicolon handling in procedure declarationsAndreas Baumann
2020-08-20more correct handling of parameter in forward declared proceduresAndreas Baumann
2020-08-20got parameter type checking working properlyAndreas Baumann
2020-08-18started with a parameter test for types in procedure callsAndreas Baumann
2020-08-18added another test for procedure parameter mismatchAndreas Baumann
2020-08-17some fixes around wrong ident handlingAndreas Baumann
2020-08-16working on parameter checkingAndreas Baumann
2020-08-15forgot to add procedure_call_value_parameters testAndreas Baumann
2020-08-15correct returning from procedure with argumentsAndreas Baumann
- ec: first working return from a procedure with parameters - asm-i386: needed a ret imm16 to clean up stack when returning from call with parameters - asm-i386: introduced min and max operands constraints (better than arbitrary expections by opcode, for instance dd)
2020-08-14started handling value parameters for proceduresAndreas Baumann
- asm386 handles also negative numbers (for negative offsets for parameters on stack) - parameter handling in stdcall style (procedure handles all of the stack operations)
2020-08-09got local variables right (also with arrays)Andreas Baumann
2020-08-08more work on local variablesAndreas Baumann
2020-08-06started with locals in procedures and adressingAndreas Baumann
2020-08-06added procedure ESP and EBP stack frame handlingAndreas Baumann
- asm-i386: added ESP and EBP registers - emul: set EBP to ESP when starting the emulation
2020-08-06removed playing with noreturn attributeAndreas Baumann
2020-08-04added a note about __builtin_unreachable and pccAndreas Baumann
2020-08-03some work on noreturn and exit/HaltAndreas Baumann
2020-07-29ec: can generate binaries for the simple emulator as well as ELF binariesAndreas Baumann
the Linux 386 host
2020-07-28asm-386 is working on simple ELF testAndreas Baumann
2020-07-27asm-i386: tried to fix assignmentAndreas Baumann
2020-07-26asm-i386: minifix in debug output (REGISTER_AL)Andreas Baumann
2020-07-25asm-i386: some work on expresion tree evaluations and new opcodesAndreas Baumann
- added dw, dd and arbitrary length data - added INT nn for syscalls - rearanged the elf.asm test so it only needs the minimal set of opcodes we have - added and assignment for variables to expressions - some work on evaluation of expressions
2020-07-24asm-i386: fixes initializations and some hexnum debug outputAndreas Baumann
2020-07-24refactored asm-i386 also for symbols in expression trees, tests working againAndreas Baumann
2020-07-23parsing $ and $$ in asm-i386Andreas Baumann
- freestanding libc: added ungetc function with one pushback character - asm-i386: for now adding $ and $$ as special addresses to the operands in the expression tree
2020-07-23asm-i386: started to work on const expressions, works again for pure ↵Andreas Baumann
integer/hex constants
2020-07-23added a simple ELF/i386 header example in FASM syntaxAndreas Baumann
2020-07-18playing with small elf binaries in assemblyAndreas Baumann
2020-06-28some work on procedure scopesAndreas Baumann
2020-06-28added a test for forward declarations of proceduresAndreas Baumann
2020-06-28added forward procedure declarations and fixed some memory leaksAndreas Baumann
2020-06-27some cleanup around scoping, all const/var in proceduresAndreas Baumann
2020-06-27implemented simple proceduresAndreas Baumann
asm-i386: added call and ret opcodes ec: simple procedure declarations and calls without parameters
2020-06-27fixed endless loop in asm-i386 when parsing operands and an unknown symbol ↵Andreas Baumann
appears before newline
2020-06-27added an insertion sort exampleAndreas Baumann
2020-06-25ec: avoid strange eof errors when using / instead of divAndreas Baumann