Commit Graph

294 Commits

Author SHA1 Message Date
Anton Lydike
270c3e7090 assembler: fix bug with zero-termination of strings 2023-05-29 14:21:59 +01:00
Anton Lydike
86250157b7 regs: add __repr__ 2023-05-29 14:21:39 +01:00
Anton Lydike
dfc0ed7862 updated .idea 2023-05-29 14:21:18 +01:00
Anton Lydike
d9058a0ca0 add lit gitignore 2023-05-29 11:52:38 +01:00
Anton Lydike
1bb0770061 remove lit artifact 2023-05-29 11:52:28 +01:00
Anton Lydike
1bd754953c runtime: move start of libc into separate folder 2023-05-29 11:48:09 +01:00
Anton Lydike
a28bf834ac runtime: add a basic stdlib and crt0 file 2023-05-29 11:29:06 +01:00
Anton Lydike
207cf918ef syscall: add partial support for mmap2 syscall 2023-05-29 11:29:04 +01:00
Anton Lydike
c7e14a3b42 misc: annotations and dead code removal 2023-05-29 11:26:26 +01:00
Anton Lydike
7a4972d48f fix jalr instruction to take arguments in the form of rd, rs, imm 2023-05-29 11:25:04 +01:00
Sasha Lopoukhine
25d059da09
add some typing annotations (#20)
* add some typing annotations

* minor additions

* import Optional

* format with black

* review comments

---------

Co-authored-by: Anton Lydike <me@antonlydike.de>
2023-05-05 17:22:58 +01:00
Anton Lydike
d6d3a18aa6 minor additions 2023-05-02 16:46:22 +01:00
Anton Lydike
1ea5bb2edc more filechecks? 2023-05-01 18:27:19 +01:00
Anton Lydike
2f6073b4df fix whitespace issues 2023-05-01 17:35:14 +01:00
Anton Lydike
189dc63ceb add lit filecheck 2023-05-01 17:33:07 +01:00
Anton Lydike
0c37be3c4d fix ci (pt3) ? 2023-05-01 16:59:53 +01:00
Anton Lydike
a51681811f fix ci (pt2) ? 2023-05-01 16:57:49 +01:00
Anton Lydike
87968d08d9 fix ci? 2023-05-01 16:53:10 +01:00
Anton Lydike
94d01a97d9 add ci 2023-05-01 16:46:13 +01:00
Anton Lydike
448b19c144 add blame ignore commit 2023-05-01 16:40:22 +01:00
Anton Lydike
5515c7795c format black 2023-05-01 16:39:27 +01:00
Anton Lydike
e1fbe4f11d fix testing infra 2023-05-01 16:36:58 +01:00
Anton Lydike
dd77d1b387 minor cleanup 2023-05-01 13:33:52 +01:00
Anton Lydike
1b26497e4c base: add debug instructions 2023-02-03 16:45:29 +00:00
Anton Lydike
b5ebe13528 release 2.0.5 2023-01-27 16:16:30 +00:00
Anton Lydike
51d23a1630 updated .idea files 2023-01-27 15:35:04 +00:00
Anton Lydike
636e06f243 add an unlimited register mode 2023-01-27 15:35:04 +00:00
Anton Lydike
86063d64d7 version update: 2.0.4 2023-01-26 17:00:18 +00:00
Anton Lydike
5caf0d604d rv32i: respect conf.debug_instruction setting 2023-01-24 18:37:15 +00:00
Anton Lydike
36e8c9c9ce misc: fixed a typo in a docstring 2023-01-24 18:37:15 +00:00
Emilien Bauer
f7e7c41034
Deploy RiscEmu in a JupyterLite distribution. (#18)
* Try and deploy a RiscEmu JupyterLite distribution.

* Add examples to the JupyterLite deployment.

* Add some demo notebooks and link to it in Readme.

Co-authored-by: Emilien Bauer <bauer.emilien@gmail.com>
2023-01-20 14:13:53 +00:00
K-W-Li
1d65b236f4
Fix sign issue in parse_rd_rs_rs (#16) 2023-01-17 20:28:49 +00:00
Anton Lydike
be0591ed25 release of 2.0.3 2022-04-18 22:17:23 +02:00
Anton Lydike
d353353748 fixed link in syscall docs 2022-04-18 20:30:41 +02:00
Anton Lydike
ce5b01d463 Parser: fixed error when labels where used outside of sections 2022-04-18 20:26:19 +02:00
Anton Lydike
204d2c9a5b Syscalls: cleaned up formatting and added instructions for extensions 2022-04-18 20:25:35 +02:00
Anton Lydike
10a3c4201e cleaned up and improved memory dumping code 2022-04-17 12:34:07 +02:00
Anton Lydike
5a07770427 fixed a bug with hex literal recognition 2022-04-17 12:32:36 +02:00
Anton Lydike
39e759ae9b fixed bug where wrong parts of section would be printed in mmu.dump() 2022-04-17 12:32:15 +02:00
Anton Lydike
65903189a2 removed tests for bind_twos_complement 2022-04-17 11:51:29 +02:00
Anton Lydike
629786931e fixed address translation error for sections without symbols 2022-04-17 11:14:03 +02:00
Anton Lydike
bb770ab43c Logging: Changed verbosity levels at which things are logged for the CPU 2022-04-17 10:42:08 +02:00
Anton Lydike
8dea2036c5 added changelog - release of 2.0.2 2022-04-08 21:10:08 +02:00
Anton Lydike
83d8412fff add /build to idea excluded dirs 2022-04-08 21:02:02 +02:00
Anton Lydike
0c39a9eefb fixes #12 - exit program with code from cpu.exit_code 2022-04-08 21:00:56 +02:00
Anton Lydike
761799c17a Parser: fixes #13 - implicit start of text section when parsing assembly
When an assembly file starts with instructions without explicitly
declaring any section beforehand, a .text section will be created
implicitly.
2022-04-08 20:54:40 +02:00
Anton Lydike
baf4485143 release of 2.0.1 2022-04-01 14:46:20 +02:00
Anton Lydike
4d2d65a10d fixed type annotations type in parsers 2022-04-01 13:30:55 +02:00
Anton Lydike
d18843a88b release of 2.0.0 2022-03-31 22:49:45 +02:00
Anton Lydike
4b77ce05a7
Merge pull request #5 from AntonLydike/assembly-parser-rework
- Completely revamped parsing of readable assembly
 - Completely revamped internal types
 - Added hard and correct 32 bit integer handling in registers
2022-03-31 22:47:55 +02:00