summaryrefslogtreecommitdiff
path: root/ecomp-c/tests
AgeCommit message (Collapse)Author
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-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-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-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-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-27implemented simple proceduresAndreas Baumann
asm-i386: added call and ret opcodes ec: simple procedure declarations and calls without parameters
2020-06-27added an insertion sort exampleAndreas Baumann
2020-06-25finished reverse array exampleAndreas Baumann
2020-06-25another example with integer arraysAndreas Baumann
asm-i386: added parsing of empty lines ec: array dimensions can be const expressions now (simple const expression being a number or a constant)
2020-06-25asm-i386: fixed patching of addresses in prolongued jumpsAndreas Baumann
2020-06-21added an example for divisors remembered in an array of integersAndreas Baumann
ec: added jmp workaround in while in order to avoid far conditional jumps asm-i386: issues with correct far address calculation in jmp (still existing)
2020-06-15asm-i386:Andreas Baumann
- added register indirect reads for expression evaluation with arrays ec: - started to add array expressions
2020-06-14libc-freestandingAndreas Baumann
- added a memcpy asm-i386: - fixed address calculation for dd and multiple operands - added support for register indirect moved (writing only at the moment, needed for array assignments) ec: - added support for array assignments - removed "variable not initialized" check, too hard to implement correctly and besides we initialize static variables always)
2020-06-07work on array dereferenceAndreas Baumann
2020-06-05handling strings now better, keep defined dimension of character arrayAndreas Baumann
also to better comment printing with strings
2020-05-31emul: corrected first data dumpAndreas Baumann
2020-05-31some better data output in emul and adapted testsAndreas Baumann
2020-05-31ec: zero-terminate string literalsAndreas Baumann
emul: compute size of initial data in binary, print correct data adapted tests
2020-05-31added support for multi-operand db in asm-i386 for string definitionsAndreas Baumann
added string and character tests
2020-05-30asm-i386:Andreas Baumann
started to support strings in db fixed embarrassingly wrong parser for hexadecimal numbers
2020-05-23added character typeAndreas Baumann
multi-typed values for constants and variables (all symbols) adapted tests to better output of debug code in assembly
2020-05-23asm-i386: implemented byte movesAndreas Baumann
more little-endian tests fixing
2020-05-22updated some tests after emul data changeAndreas Baumann
2020-05-21starting to add size of typesAndreas Baumann
2020-05-21also initializing data segment for dbAndreas Baumann
adapted all tests
2020-05-19updated some commentsAndreas Baumann
2020-05-16finished variable initialization from simple const expressionAndreas Baumann
2020-05-16refactored parsing of const expressions (currently literals and ↵Andreas Baumann
identifiers/other constants only) started to add initialization of variables
2020-05-15fixed test.sh and added a byte/dword move testAndreas Baumann
2020-05-15renamed tests/run_tests.sh to test.shAndreas Baumann
2020-05-15added a list option to run_tests.shAndreas Baumann
2020-05-13reverted size of boolean to 4 for nowAndreas Baumann
2020-05-10some work on char typeAndreas Baumann
2020-05-09fixed comparision of types testAndreas Baumann
2020-05-02implemented some type checks in assignments and expressionsAndreas Baumann
2020-04-19added a boolean and testAndreas Baumann
2020-04-18implemented boolean expressions (hopefully)Andreas Baumann
2020-04-13ec: fixed memory leaks and snprintf in hosted environmentAndreas Baumann
asm-i386: some output about uses passes, some cleanup