Commit Graph

9 Commits

Author SHA1 Message Date
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
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
0b674c7c64 [UNTESTED] refactor how instructions are parsed
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-14 10:16:03 +05:30
3cf5cbd024 refactor: make linter happy
also add a few unused coprocessor instructions

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-14 01:19:41 +05:30
387f3c8f07 chore: minor changes
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-13 04:15:16 +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
332f0b87d6 initialise a memory structure or smth
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-11 10:53:32 +05:30
84c68a4e00 initial cpu structure :thonk:
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-08-27 21:43:09 +05:30
fe255f97f4 initial commit: set up a template
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-08-15 14:59:53 +05:30