Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-30 | asm-i386: fixed patchup of forward references (again) | 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-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-08-06 | removed playing with noreturn attribute | Andreas Baumann | |
2020-08-03 | some work on noreturn and exit/Halt | Andreas Baumann | |
2020-07-28 | asm-386 is working on simple ELF test | Andreas Baumann | |
2020-07-27 | asm-i386: tried to fix assignment | Andreas Baumann | |
2020-07-26 | asm-i386: minifix in debug output (REGISTER_AL) | Andreas Baumann | |
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-24 | asm-i386: fixes initializations and some hexnum debug output | Andreas Baumann | |
2020-07-24 | refactored asm-i386 also for symbols in expression trees, tests working again | Andreas Baumann | |
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 | asm-i386: started to work on const expressions, works again for pure ↵ | Andreas Baumann | |
integer/hex constants | |||
2020-07-18 | playing with small elf binaries in assembly | 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 | fixed endless loop in asm-i386 when parsing operands and an unknown symbol ↵ | Andreas Baumann | |
appears before newline | |||
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-20 | asm-i386: added checks for 32-bit stack pushes | Andreas Baumann | |
2020-06-19 | asm-i386: added nop for easier debugging in emul | Andreas Baumann | |
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-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 | asm-i386: implemented byte moves | Andreas Baumann | |
more little-endian tests fixing | |||
2020-05-10 | some work on char type | 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 | |||
2020-04-13 | asm-i386: fixed rel8/rel32 jmps for example_divisors.e | Andreas Baumann | |
2020-04-13 | more code cleanup | Andreas Baumann | |
2020-04-13 | asm-i386: nicer debug output | Andreas Baumann | |
2020-04-13 | code cleanup | Andreas Baumann | |
2020-04-12 | asm-i386: epilogue and deinit cleanup | Andreas Baumann | |
2020-04-11 | added some comments on address rewriting | Andreas Baumann | |
2020-04-10 | on the way to a multi-pass assembler | Andreas Baumann | |
2020-04-05 | renamed incr to size in asm | Andreas Baumann | |
2020-04-04 | some better assembly error messages | Andreas Baumann | |
2020-04-03 | implemented '%' (remainder) | Andreas Baumann | |
problems with rel8 in jmp in while in example_divisors.e | |||
2020-04-02 | we have an if | Andreas Baumann | |
2020-03-29 | filled out the rest of compare operations | Andreas Baumann | |
2020-03-29 | implemented je and jmp in asm-i386 | Andreas Baumann | |
improved debug output in asm-i386 (label names, addresses) added more test | |||
2020-03-28 | implemented evaluation of equals in expression with relational operator in ec | Andreas Baumann | |
started to implement cmp, je, jmp in asm-i386 | |||
2020-03-26 | better error handling in asm-i386 for unknown operand combinations | Andreas Baumann | |
2020-03-24 | implemented asm-i386, so it can handle test1.e for now | Andreas Baumann | |
2020-03-23 | implemented explicit move | Andreas Baumann | |
2020-03-22 | fixed fputc to use print_char (needed to print strange non-C-chars like a \0 ↵ | Andreas Baumann | |
into a binary) added Emit_little_endian (for DD and rel32) | |||
2020-03-20 | some work on binary generation in asm-i386 | Andreas Baumann | |
2020-03-18 | forgot a checkin | Andreas Baumann | |
2020-03-15 | some work on understand Intel opcodes add and sub | Andreas Baumann | |