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>
This commit is contained in:
2023-09-13 03:44:36 +05:30
parent 904e2b698e
commit 8a04eade92
22 changed files with 571 additions and 50 deletions

View File

@@ -6,10 +6,13 @@ lib_sources = files(
subdir('util')
subdir('cpu')
fmt = dependency('fmt', version : '>=10.1.0')
lib = library(
meson.project_name(),
lib_sources,
install: true
dependencies: [fmt],
install: true,
cpp_args: '-DFMT_HEADER_ONLY'
)
import('pkgconfig').generate(lib)
import('pkgconfig').generate(lib)