Anton Lydike
|
bf4bcfe388
|
added debugging info
|
4 years ago |
Anton Lydike
|
cd08cd4f70
|
added syscall interface to debug variables
|
4 years ago |
Anton Lydike
|
bf4c705297
|
added symbol lookup helper MMU.symbol(name)
|
4 years ago |
Anton Lydike
|
ce59d10a3b
|
fixed range selection for LoadedMemorySection.dump
|
4 years ago |
Anton Lydike
|
c2cbb4653c
|
updated readme and docs
|
4 years ago |
Anton Lydike
|
db6d21b734
|
now officially MIT licensed
|
4 years ago |
Anton Lydike
|
4135ffdb32
|
syscall symbols now work as global symbols
|
4 years ago |
Anton Lydike
|
8b4ba276a8
|
fixed saving reference to global_symbol_table in executable loader
|
4 years ago |
Anton Lydike
|
a1b9cf7f22
|
provide global syscall symbols if flag is set
|
4 years ago |
Anton Lydike
|
11568ec9b0
|
improved arguments, dropped support for no-color output
|
4 years ago |
Anton Lydike
|
2c5655d65a
|
fixed registers keeping track of last accessed register
|
4 years ago |
Anton Lydike
|
7cb29c5b89
|
added escape character deocoding for ascii and asciiz pseudo-ops
|
4 years ago |
Anton Lydike
|
3bcabfbf78
|
fixed mmu bounds check for read
|
4 years ago |
Anton Lydike
|
fc22d4b6a7
|
added better colors to MMU output
|
4 years ago |
Anton Lydike
|
09844c8d38
|
fixed isinstance check in write syscall
|
4 years ago |
Anton Lydike
|
d6e6856431
|
changed output color for syscall logs
|
4 years ago |
Anton Lydike
|
45b82a3fa9
|
support for loading multiple executables
|
4 years ago |
Anton Lydike
|
cb48d66400
|
stack allocation now fixed
|
4 years ago |
Anton Lydike
|
2b87bbe270
|
reformat Exceptions.py
|
4 years ago |
Anton Lydike
|
8fc519ee86
|
added global symbol support!
|
4 years ago |
Anton Lydike
|
9aaaf7313f
|
added pseudo-op .set name val, and .global symb
|
4 years ago |
Anton Lydike
|
db8cc9b00c
|
made instruction methods private to cpu class so not visible from debugger
|
4 years ago |
Anton Lydike
|
c3faaaed02
|
better formatting in memory dump
|
4 years ago |
Anton Lydike
|
f43c33b0d7
|
added __repr__ to MemoryFlags
|
4 years ago |
Anton Lydike
|
c4a28c9d1b
|
added __repr__ to MMU and LoadedMemeorySection
|
4 years ago |
Anton Lydike
|
4b26ab6774
|
added __repr__ to CPU class
|
4 years ago |
Anton Lydike
|
d56dca3ff4
|
added better debugging environment
|
4 years ago |
Anton Lydike
|
baaaa881bc
|
colored exception messages
|
4 years ago |
Anton Lydike
|
34a44860e0
|
added name field to executables for easy debugging
|
4 years ago |
Anton Lydike
|
64507a4e7e
|
added mmu dump to dump arbitrary section
|
4 years ago |
Anton Lydike
|
30bcded998
|
beautiful section dumps
|
4 years ago |
Anton Lydike
|
7f59ac9bca
|
better interative shell
|
4 years ago |
Anton Lydike
|
4272ae6d28
|
readme rework
|
4 years ago |
Anton Lydike
|
8cf381ec61
|
added basic tests
|
4 years ago |
Anton Lydike
|
8548891511
|
added assembly docs
|
4 years ago |
Anton Lydike
|
9540a78e3e
|
added CPU docs
|
4 years ago |
Anton Lydike
|
8d39d79032
|
made module runnable
|
4 years ago |
Anton Lydike
|
20db1e02ab
|
implemented instructions sll, slli, srl, srli, sra, srai
|
4 years ago |
Anton Lydike
|
7d09cb209f
|
reworked memory instruction parsing
|
4 years ago |
Anton Lydike
|
3c0e357ca0
|
minor bugfixes and missing members corrected
|
4 years ago |
Anton Lydike
|
dd79c11b3b
|
implemented instructions and, or, slt, sltu
|
4 years ago |
Anton Lydike
|
f8e595b46e
|
added instruction xor
|
4 years ago |
Anton Lydike
|
99de083894
|
minor instruction fixes such as added assertions
|
4 years ago |
Anton Lydike
|
5bdd866472
|
implemented instruction j, added cpu cycle counter
|
4 years ago |
Anton Lydike
|
97d86108e8
|
added ebreak/scall aliases to sbreak/scall and replaced dbg with ebreak instruction
|
4 years ago |
Anton Lydike
|
0aa42d0d1c
|
implemented instructions beq, bne, blt, bge, bltu, bgeu, improved unsigned number handling
|
4 years ago |
Anton Lydike
|
88c0b77a16
|
implemented instructions jal, jalr, j, ret, nop
|
4 years ago |
Anton Lydike
|
5a722c8cf1
|
implemented syscalls open, read, write, close, exit
|
4 years ago |
Anton Lydike
|
a483db65c7
|
more work on syscalls
|
4 years ago |
Anton Lydike
|
a69cc7d346
|
moved registers out of CPU file
|
4 years ago |