summaryrefslogtreecommitdiff
path: root/ecomp-c/emul.c
AgeCommit message (Collapse)Author
2021-09-27cc: added boolean expressionsAndreas Baumann
2021-09-24emul: added INT 0x80 hook for syscall 4 (write) for printintAndreas Baumann
2021-09-24emulAndreas Baumann
- added command line options for verbose output, tracing, ...
2020-08-30emul: find illegal address references to opcodes (avoid endless loops)Andreas 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-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-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-21starting to add size of typesAndreas Baumann
2020-05-15emul.cAndreas Baumann
- do not initialize memory (we have constants in the initialized data section!) - use last 'hlt' instruction as a separator between code and data
2020-03-26improved automatic tests, also assemble (with fasm and asm-i386) and run the ↵Andreas Baumann
emulators on both code segments (as a replacement for a missing disassembler for now)
2020-03-01simplistic code generation works for expressionsAndreas Baumann
2020-03-01first code generation, assembly and emulationAndreas Baumann