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
0f09874929
cpu: get rid of the test workaround
...
now can we remove the pimpl?
Signed-off-by: Amneesh Singh <natto@weirdnatto.in >
2023-09-27 22:43:50 +05:30
5ec5e6dddc
thumb: add disassembler
...
Signed-off-by: Amneesh Singh <natto@weirdnatto.in >
2023-09-27 17:31:00 +05:30
bd91112509
refactor: make disassembler optional
...
Signed-off-by: Amneesh Singh <natto@weirdnatto.in >
2023-09-27 01:31:32 +05:30
b55f6ee16b
refactor: replace fmt ostreams with stringify
...
Signed-off-by: Amneesh Singh <natto@weirdnatto.in >
2023-09-27 01:24:32 +05:30
91a82eec7c
log: encapsulate logger
...
Signed-off-by: Amneesh Singh <natto@weirdnatto.in >
2023-09-23 21:09:44 +05:30
6c33c77ef3
restructure: get rid of cpu/utility
...
Signed-off-by: Amneesh Singh <natto@weirdnatto.in >
2023-09-23 14:15:23 +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
1eb4a9545b
tests: complete exec tests (for now)
...
Signed-off-by: Amneesh Singh <natto@weirdnatto.in >
2023-09-19 08:58:11 +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
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