summaryrefslogtreecommitdiff
path: root/ecomp-c/test1.e
AgeCommit message (Collapse)Author
2020-09-18some work on functionsAndreas 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-31parameter list as double linked list (work in progress)Andreas Baumann
2020-08-20more correct handling of parameter in forward declared proceduresAndreas Baumann
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-06-28some work on procedure scopesAndreas Baumann
2020-06-28added forward procedure declarations and fixed some memory leaksAndreas 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-25ec: avoid strange eof errors when using / instead of divAndreas Baumann
2020-06-20first version of array dereferncing (read and write) using the stackAndreas Baumann
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-05fixed also test1.eAndreas Baumann
2020-05-31some work on type compatibility for stringsAndreas Baumann
2020-05-31ec: zero-terminate string literalsAndreas Baumann
emul: compute size of initial data in binary, print correct data adapted tests
2020-05-29added support for strings in ecAndreas Baumann
2020-05-26some refactoring and started array typesAndreas Baumann
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-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-03added whileAndreas Baumann
2020-04-02we have an ifAndreas Baumann
2020-03-30on the way to an ifAndreas Baumann
2020-03-29filled out the rest of compare operationsAndreas Baumann
2020-03-28implemented evaluation of equals in expression with relational operator in ecAndreas Baumann
started to implement cmp, je, jmp in asm-i386
2020-03-27allow assignment in constant definitions from constant expressions (numbers ↵Andreas Baumann
and other constants for now) more testing in constants added a boolean type with true and false as predefined constants
2020-03-15some work on understand Intel opcodes add and subAndreas Baumann
2020-03-13fixed freestanding malloc/free: added 16-bit alignment and handling the one ↵Andreas Baumann
last block case
2020-03-07some work on the i386 assemblerAndreas Baumann
2020-03-03allow enumeration of constants, fixed variable enumerationsAndreas Baumann
2020-03-01simplistic code generation works for expressionsAndreas Baumann
2020-02-29added brakets for expressionsAndreas Baumann
fixed parsing issues around identifier() - do not call it directly, always use getSym - added support for enumerations of variables in declarations
2020-02-28some expression tree parsing and postfix outputAndreas Baumann
2020-02-23handling assignment of variablesAndreas Baumann
2020-02-18implemented const as rvalueAndreas Baumann
2020-01-30more testingAndreas Baumann
2020-01-30more testing and made it work with tcc-git nostdlibAndreas Baumann
2020-01-30added constantsAndreas Baumann
2020-01-26some work on symbol handlingAndreas Baumann
2020-01-25added some debuging functionalityAndreas Baumann
2020-01-23some work on basic declarations and statement blocksAndreas Baumann
2020-01-23redone simple statement blocks with constant assignment, implicit integersAndreas Baumann
2020-01-19another try in pure C firstAndreas Baumann