Commit Graph

12 Commits

Author SHA1 Message Date
d1df555a6a fix gcc build
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-06-14 05:48:13 +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
f34efb183f cpu: fix changing modes
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-06-11 23:26:02 +05:30
e0f7f32699 refactor: reorganize everything
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-10-04 01:41:38 +05:30
1e8966553f chore: enclose everything in namespace matar
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-21 10:52:40 +05:30
fa96a4d09f tests: add execution tests
all but data processing

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-18 18:23:52 +05:30
dd9dd5f116 tests: complete disassembler tests
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-17 09:50:32 +05:30
be7deb349a tests: [WIP] add unit tests for some of the instructions
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-15 14:07:23 +05:30
7fc6876264 [UNTESTED] complete initial disassembler structure for ARM
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-15 05:23:07 +05:30
169723275e replace symlinks
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-14 11:25:44 +05:30
81afd67e0b delete symlinks
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-14 11:14:36 +05:30
8a04eade92 add a basic structure for disassembler + executor
Instructions added
Branch and Exchange (BX)
Branch and Link (B)
Multiply and Accumulate (MUL, MLA)
Multiply Long and Accumulate (SMULL, SMLAL, UMULL, UMLAL)
Single data swap (SWP)
[WIP] Halfword Transfer (STRH, LDRH)

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-13 03:44:36 +05:30