Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-20 | got parameter type checking working properly | Andreas Baumann | |
2020-08-18 | started with a parameter test for types in procedure calls | Andreas Baumann | |
2020-08-18 | added another test for procedure parameter mismatch | Andreas Baumann | |
2020-08-16 | working on parameter checking | Andreas Baumann | |
2020-08-15 | forgot to add procedure_call_value_parameters test | Andreas Baumann | |
2020-08-15 | correct returning from procedure with arguments | Andreas 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-14 | started handling value parameters for procedures | Andreas 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-09 | got local variables right (also with arrays) | Andreas Baumann | |
2020-08-08 | more work on local variables | Andreas Baumann | |
2020-08-06 | started with locals in procedures and adressing | Andreas Baumann | |
2020-08-06 | added procedure ESP and EBP stack frame handling | Andreas Baumann | |
- asm-i386: added ESP and EBP registers - emul: set EBP to ESP when starting the emulation | |||
2020-07-25 | asm-i386: some work on expresion tree evaluations and new opcodes | Andreas 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-23 | parsing $ and $$ in asm-i386 | Andreas 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-23 | added a simple ELF/i386 header example in FASM syntax | Andreas Baumann | |
2020-07-18 | playing with small elf binaries in assembly | Andreas Baumann | |
2020-06-28 | some work on procedure scopes | Andreas Baumann | |
2020-06-28 | added a test for forward declarations of procedures | Andreas Baumann | |
2020-06-27 | implemented simple procedures | Andreas Baumann | |
asm-i386: added call and ret opcodes ec: simple procedure declarations and calls without parameters | |||
2020-06-27 | added an insertion sort example | Andreas Baumann | |
2020-06-25 | finished reverse array example | Andreas Baumann | |
2020-06-25 | another example with integer arrays | Andreas 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-25 | asm-i386: fixed patching of addresses in prolongued jumps | Andreas Baumann | |
2020-06-21 | added an example for divisors remembered in an array of integers | Andreas 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-15 | asm-i386: | Andreas Baumann | |
- added register indirect reads for expression evaluation with arrays ec: - started to add array expressions | |||
2020-06-14 | libc-freestanding | Andreas 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-07 | work on array dereference | Andreas Baumann | |
2020-06-05 | handling strings now better, keep defined dimension of character array | Andreas Baumann | |
also to better comment printing with strings | |||
2020-05-31 | emul: corrected first data dump | Andreas Baumann | |
2020-05-31 | some better data output in emul and adapted tests | Andreas Baumann | |
2020-05-31 | ec: zero-terminate string literals | Andreas Baumann | |
emul: compute size of initial data in binary, print correct data adapted tests | |||
2020-05-31 | added support for multi-operand db in asm-i386 for string definitions | Andreas Baumann | |
added string and character tests | |||
2020-05-30 | asm-i386: | Andreas Baumann | |
started to support strings in db fixed embarrassingly wrong parser for hexadecimal numbers | |||
2020-05-23 | added character type | Andreas Baumann | |
multi-typed values for constants and variables (all symbols) adapted tests to better output of debug code in assembly | |||
2020-05-23 | asm-i386: implemented byte moves | Andreas Baumann | |
more little-endian tests fixing | |||
2020-05-22 | updated some tests after emul data change | Andreas Baumann | |
2020-05-21 | starting to add size of types | Andreas Baumann | |
2020-05-21 | also initializing data segment for db | Andreas Baumann | |
adapted all tests | |||
2020-05-19 | updated some comments | Andreas Baumann | |
2020-05-16 | finished variable initialization from simple const expression | Andreas Baumann | |
2020-05-16 | refactored parsing of const expressions (currently literals and ↵ | Andreas Baumann | |
identifiers/other constants only) started to add initialization of variables | |||
2020-05-15 | fixed test.sh and added a byte/dword move test | Andreas Baumann | |
2020-05-15 | renamed tests/run_tests.sh to test.sh | Andreas Baumann | |
2020-05-15 | added a list option to run_tests.sh | Andreas Baumann | |
2020-05-13 | reverted size of boolean to 4 for now | Andreas Baumann | |
2020-05-10 | some work on char type | Andreas Baumann | |
2020-05-09 | fixed comparision of types test | Andreas Baumann | |
2020-05-02 | implemented some type checks in assignments and expressions | Andreas Baumann | |
2020-04-19 | added a boolean and test | Andreas Baumann | |
2020-04-18 | implemented boolean expressions (hopefully) | Andreas Baumann | |
2020-04-13 | ec: fixed memory leaks and snprintf in hosted environment | Andreas Baumann | |
asm-i386: some output about uses passes, some cleanup |