Commit Graph

  • bc8c061c6d removed stack pref pseudo-op in preperation for real stack impl Anton Lydike 2021-04-23 19:53:06 +0200
  • a52506a17f updated docs for new logging Anton Lydike 2021-04-23 19:37:38 +0200
  • 2cd407aa79 added readthedocs link to readme Anton Lydike 2021-04-23 19:21:13 +0200
  • 4ff9be4061 brainfart when configuring readthedocs theme Anton Lydike 2021-04-23 19:14:49 +0200
  • 2810fb53a2 using correct readthedocs theme? Anton Lydike 2021-04-23 19:13:34 +0200
  • f5afd0a8be more readthedocs fixes? Anton Lydike 2021-04-23 19:09:44 +0200
  • 317d106b9c lots of readthedocs debugging Anton Lydike 2021-04-23 19:02:33 +0200
  • 0574766a81 lots more documentation cleanup Anton Lydike 2021-04-23 18:43:14 +0200
  • fdcb3a71be added readthedocs Anton Lydike 2021-04-23 18:42:54 +0200
  • 819d57e3c8 preparations for sphinx documentation generation Anton Lydike 2021-04-22 15:47:11 +0200
  • 6e6ce90e9a added lots more documentation and copyright notices Anton Lydike 2021-04-22 14:29:10 +0200
  • 2a68f16e99 added lots of documentation in pydoc style Anton Lydike 2021-04-22 13:57:13 +0200
  • 8c1714116e more info in readme to symbols and prgram startup Anton Lydike 2021-04-22 13:03:49 +0200
  • a1fe631844 improved debugging output on early exit and reformatted cpu file Anton Lydike 2021-04-22 13:00:37 +0200
  • 21b974cfbd prettier debug output (colorized) Anton Lydike 2021-04-22 12:57:40 +0200
  • 41f5dd0730 better ascii dumps Anton Lydike 2021-04-22 12:48:46 +0200
  • ebfb3a0112 better formatted print outputs Anton Lydike 2021-04-22 12:41:07 +0200
  • 18b5ea0570 added launch message where cpu starts execution Anton Lydike 2021-04-22 12:40:28 +0200
  • 44ae0bac77 read syscall now behaves like readline instead of read Anton Lydike 2021-04-22 11:22:05 +0200
  • 0d9960c01a added add_accept_imm option flag to allow add rd, rs, imm instructions Anton Lydike 2021-04-21 21:04:56 +0200
  • 5da0f8b0fa fixed failure to launch with missing --instruction-sets flag Anton Lydike 2021-04-21 20:41:16 +0200
  • 9afbd03733 added .word pseudo op Anton Lydike 2021-04-21 20:36:26 +0200
  • daed3a0205 added proper cpu exit handling Anton Lydike 2021-04-21 20:36:10 +0200
  • 30d3e0ab59 updated readme formatting Anton Lydike 2021-04-19 12:53:00 +0200
  • cd17c65ce7 Added instruction set selector to CLI Anton Lydike 2021-04-19 12:51:43 +0200
  • 8b1cbd97ec added heap/stack support to todo section in readme Anton Lydike 2021-04-19 12:33:44 +0200
  • b24a83d27c rewrote parts of instruction set docs Anton Lydike 2021-04-19 12:24:14 +0200
  • 22a577da59 fixed formatting in verbose cpu output Anton Lydike 2021-04-19 12:18:06 +0200
  • 785af6b747 added more documentation about debuggin tools Anton Lydike 2021-04-19 12:16:50 +0200
  • 39d5212d3d added stepping functionality to the debugger Anton Lydike 2021-04-19 12:10:24 +0200
  • 521cb73ad6 better dumping code in debugger Anton Lydike 2021-04-19 11:27:31 +0200
  • 318b62431d catching invalid immediate value now Anton Lydike 2021-04-19 11:21:47 +0200
  • 7d095991a2 added light documentation for internal structure Anton Lydike 2021-04-19 11:16:57 +0200
  • 97525bf8ab fixed cpu __repr__ method Anton Lydike 2021-04-19 11:16:05 +0200
  • 9cd0fcb7e8 added url to risc-v instruction definition to README Anton Lydike 2021-04-19 09:49:06 +0200
  • b7c0f39aaa added documentation for RV32M Anton Lydike 2021-04-19 09:48:31 +0200
  • 7aa67cd4e1 improved instruction parsing in RV32M Anton Lydike 2021-04-19 09:48:06 +0200
  • d8f46c781c finished the RV32I instruction set Anton Lydike 2021-04-19 09:00:45 +0200
  • 1abeab6f2d added parse_rs_rs_imm method to InstructionSet, used for branch instructions Anton Lydike 2021-04-19 08:53:35 +0200
  • d40c80cb81 added unsigned options to instruction parsing Anton Lydike 2021-04-19 08:37:16 +0200
  • 1957e11f62 added unified instruction parsing Anton Lydike 2021-04-19 08:34:39 +0200
  • 2d378f2e0a implemented remu, rem, divu div and mul in RV32M Anton Lydike 2021-04-19 00:05:23 +0200
  • 157589548d unified instruction parsing code Anton Lydike 2021-04-19 00:04:51 +0200
  • d3fe6cb1a9 fixed read syscall shadowing of len Anton Lydike 2021-04-19 00:04:10 +0200
  • 38cb3f7669 renamed RVM to RV32M Anton Lydike 2021-04-18 23:47:08 +0200
  • 7f3fb9b141 fixed bgeu, bltu and bge in RV32I Anton Lydike 2021-04-18 23:45:11 +0200
  • 07f097202d added lui instruction to RV32I Anton Lydike 2021-04-18 23:44:18 +0200
  • 4c50b8bf06 added .space pseudo op, currently does nothing Anton Lydike 2021-04-18 23:43:56 +0200
  • c6b18dd152 fixed hex check in parse number code Anton Lydike 2021-04-18 23:43:39 +0200
  • d8d53da774 added scaffolding form RVM instruction set Anton Lydike 2021-04-18 23:29:12 +0200
  • 7dcbd59d34 removed old unused run.py Anton Lydike 2021-04-18 23:16:32 +0200
  • 18a9e5e223 updated todo in README Anton Lydike 2021-04-18 23:15:48 +0200
  • 3ce42079d4 refactored instruction sets to be modular Anton Lydike 2021-04-18 23:14:53 +0200
  • c20ab4cfb1 added more debugging info to README Anton Lydike 2021-04-18 21:43:39 +0200
  • e42ec6a331 merged assembly and cpu docs Anton Lydike 2021-04-18 20:42:09 +0200
  • a7cedc1cd2 fixed bad link in README Anton Lydike 2021-04-18 20:37:14 +0200
  • 91a12fd2a8 fixed tokenizer hanging on unknown instruction Anton Lydike 2021-04-18 20:36:13 +0200
  • a3ab418858 fixed formatting in Registers.dump() Anton Lydike 2021-04-18 20:32:25 +0200
  • bf4bcfe388 added debugging info Anton Lydike 2021-04-18 20:31:53 +0200
  • cd08cd4f70 added syscall interface to debug variables Anton Lydike 2021-04-18 20:11:44 +0200
  • bf4c705297 added symbol lookup helper MMU.symbol(name) Anton Lydike 2021-04-18 20:10:08 +0200
  • ce59d10a3b fixed range selection for LoadedMemorySection.dump Anton Lydike 2021-04-18 20:09:47 +0200
  • c2cbb4653c updated readme and docs Anton Lydike 2021-04-18 19:43:24 +0200
  • db6d21b734 now officially MIT licensed Anton Lydike 2021-04-18 19:33:39 +0200
  • 4135ffdb32 syscall symbols now work as global symbols Anton Lydike 2021-04-18 19:30:25 +0200
  • 8b4ba276a8 fixed saving reference to global_symbol_table in executable loader Anton Lydike 2021-04-18 19:29:51 +0200
  • a1b9cf7f22 provide global syscall symbols if flag is set Anton Lydike 2021-04-18 19:19:28 +0200
  • 11568ec9b0 improved arguments, dropped support for no-color output Anton Lydike 2021-04-18 19:18:17 +0200
  • 2c5655d65a fixed registers keeping track of last accessed register Anton Lydike 2021-04-18 18:56:39 +0200
  • 7cb29c5b89 added escape character deocoding for ascii and asciiz pseudo-ops Anton Lydike 2021-04-18 18:49:27 +0200
  • 3bcabfbf78 fixed mmu bounds check for read Anton Lydike 2021-04-18 18:48:55 +0200
  • fc22d4b6a7 added better colors to MMU output Anton Lydike 2021-04-18 18:39:48 +0200
  • 09844c8d38 fixed isinstance check in write syscall Anton Lydike 2021-04-18 18:39:32 +0200
  • d6e6856431 changed output color for syscall logs Anton Lydike 2021-04-18 18:16:53 +0200
  • 45b82a3fa9 support for loading multiple executables Anton Lydike 2021-04-18 12:59:40 +0200
  • cb48d66400 stack allocation now fixed Anton Lydike 2021-04-18 12:55:57 +0200
  • 2b87bbe270 reformat Exceptions.py Anton Lydike 2021-04-18 12:12:00 +0200
  • 8fc519ee86 added global symbol support! Anton Lydike 2021-04-18 12:09:38 +0200
  • 9aaaf7313f added pseudo-op .set name val, and .global symb Anton Lydike 2021-04-18 10:38:36 +0200
  • db8cc9b00c made instruction methods private to cpu class so not visible from debugger Anton Lydike 2021-04-18 09:49:00 +0200
  • c3faaaed02 better formatting in memory dump Anton Lydike 2021-04-18 09:42:58 +0200
  • f43c33b0d7 added __repr__ to MemoryFlags Anton Lydike 2021-04-18 09:42:27 +0200
  • c4a28c9d1b added __repr__ to MMU and LoadedMemeorySection Anton Lydike 2021-04-18 09:37:57 +0200
  • 4b26ab6774 added __repr__ to CPU class Anton Lydike 2021-04-18 09:33:00 +0200
  • d56dca3ff4 added better debugging environment Anton Lydike 2021-04-18 09:32:37 +0200
  • baaaa881bc colored exception messages Anton Lydike 2021-04-18 09:21:11 +0200
  • 34a44860e0 added name field to executables for easy debugging Anton Lydike 2021-04-18 09:10:03 +0200
  • 64507a4e7e added mmu dump to dump arbitrary section Anton Lydike 2021-04-18 02:12:29 +0200
  • 30bcded998 beautiful section dumps Anton Lydike 2021-04-18 02:08:47 +0200
  • 7f59ac9bca better interative shell Anton Lydike 2021-04-18 02:08:03 +0200
  • 4272ae6d28 readme rework Anton Lydike 2021-04-18 02:07:37 +0200
  • 8cf381ec61 added basic tests Anton Lydike 2021-04-18 00:57:53 +0200
  • 8548891511 added assembly docs Anton Lydike 2021-04-18 00:57:33 +0200
  • 9540a78e3e added CPU docs Anton Lydike 2021-04-18 00:51:28 +0200
  • 8d39d79032 made module runnable Anton Lydike 2021-04-18 00:43:39 +0200
  • 20db1e02ab implemented instructions sll, slli, srl, srli, sra, srai Anton Lydike 2021-04-18 00:25:53 +0200
  • 7d09cb209f reworked memory instruction parsing Anton Lydike 2021-04-18 00:24:47 +0200
  • 3c0e357ca0 minor bugfixes and missing members corrected Anton Lydike 2021-04-18 00:09:26 +0200
  • dd79c11b3b implemented instructions and, or, slt, sltu Anton Lydike 2021-04-17 23:53:47 +0200
  • f8e595b46e added instruction xor Anton Lydike 2021-04-17 23:43:59 +0200