Commit Graph

9 Commits

Author SHA1 Message Date
f5aa73e7ca cpu/thumb: fix multiple load/store
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-06-19 14:18:37 +05:30
9397140473 get rid of memory.cc/.hh
also fix bus' shared pointer in cpu
TODO: put cpu in bus not the other way around

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-06-14 05:42:09 +05:30
9e6b121918 cpu/thumb: fix pc relative load
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-06-11 23:22:34 +05:30
15c4802838 cpu/{arm|thumb}(chore): change how branch disassembly happens
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-06-11 23:21:39 +05:30
174008f60c memory: bus and rom should not be writeable
so fix tests and shit

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-10-05 00:21:18 +05:30
e0f7f32699 refactor: reorganize everything
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-10-04 01:41:38 +05:30
36d71a4ee2 thumb: add execution of instructions
also arm: fix some instructions

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-30 01:31:09 +05:30
03ebc6378a clang: make linter happy
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-27 17:36:25 +05:30
5ec5e6dddc thumb: add disassembler
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-27 17:31:00 +05:30