1c96f418eb
massive instruction rewrite
...
So, I ended up moving exec methods from Instruction to Cpu for
encapsulating cycle emulation, and this has caused me lots of pain since
I had to rewrite a shit ton of tests which are not even useful or
comprehensible, i do no know why i put myself through this
Signed-off-by: Amneesh Singh <natto@weirdnatto.in >
2024-06-20 06:07:00 +05:30
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