Anton Lydike
|
9540a78e3e
|
added CPU docs
|
2021-04-18 00:51:28 +02:00 |
|
Anton Lydike
|
8d39d79032
|
made module runnable
|
2021-04-18 00:43:39 +02:00 |
|
Anton Lydike
|
20db1e02ab
|
implemented instructions sll, slli, srl, srli, sra, srai
|
2021-04-18 00:25:53 +02:00 |
|
Anton Lydike
|
7d09cb209f
|
reworked memory instruction parsing
|
2021-04-18 00:24:47 +02:00 |
|
Anton Lydike
|
3c0e357ca0
|
minor bugfixes and missing members corrected
|
2021-04-18 00:09:26 +02:00 |
|
Anton Lydike
|
dd79c11b3b
|
implemented instructions and, or, slt, sltu
|
2021-04-17 23:53:47 +02:00 |
|
Anton Lydike
|
f8e595b46e
|
added instruction xor
|
2021-04-17 23:43:59 +02:00 |
|
Anton Lydike
|
99de083894
|
minor instruction fixes such as added assertions
|
2021-04-17 23:14:56 +02:00 |
|
Anton Lydike
|
5bdd866472
|
implemented instruction j, added cpu cycle counter
|
2021-04-17 23:08:09 +02:00 |
|
Anton Lydike
|
97d86108e8
|
added ebreak/scall aliases to sbreak/scall and replaced dbg with ebreak instruction
|
2021-04-17 23:05:01 +02:00 |
|
Anton Lydike
|
0aa42d0d1c
|
implemented instructions beq, bne, blt, bge, bltu, bgeu, improved unsigned number handling
|
2021-04-17 22:59:37 +02:00 |
|
Anton Lydike
|
88c0b77a16
|
implemented instructions jal, jalr, j, ret, nop
|
2021-04-17 22:51:28 +02:00 |
|
Anton Lydike
|
5a722c8cf1
|
implemented syscalls open, read, write, close, exit
|
2021-04-17 22:50:47 +02:00 |
|
Anton Lydike
|
a483db65c7
|
more work on syscalls
|
2021-04-17 21:28:05 +02:00 |
|
Anton Lydike
|
a69cc7d346
|
moved registers out of CPU file
|
2021-04-17 20:57:54 +02:00 |
|
Anton Lydike
|
feaf432645
|
fixed config dataclass
|
2021-04-17 20:57:21 +02:00 |
|
Anton Lydike
|
9710ed9b8b
|
added Executable.__repr__ and added return self to ExecutableParser.parse
|
2021-04-17 20:42:22 +02:00 |
|
Anton Lydike
|
93ff8d7186
|
added unsigned option for int_{from,to}_bytes
|
2021-04-17 20:28:34 +02:00 |
|
Anton Lydike
|
4159d1609b
|
added run config
|
2021-04-17 20:24:38 +02:00 |
|
|
6bc939572b
|
parsing and simple running works somewhat
|
2021-04-17 19:06:24 +02:00 |
|
|
da4ae7c4c1
|
parsing of tokenized asm into MemorySections works
|
2021-04-17 13:39:56 +02:00 |
|
Anton Lydike
|
2cee60a17c
|
initial commit
|
2021-04-16 23:52:13 +02:00 |
|