Skip to content

chore: Modify arm64 instruction formatter and cleanup code for arm64 disassembler - #3240

Open
filzrev wants to merge 4 commits into
dotnet:masterfrom
filzrev:chore-modify-arm64-instruction-formatter
Open

chore: Modify arm64 instruction formatter and cleanup code for arm64 disassembler#3240
filzrev wants to merge 4 commits into
dotnet:masterfrom
filzrev:chore-modify-arm64-instruction-formatter

Conversation

@filzrev

@filzrev filzrev commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains following changes.

Arm64InstructionFormatter.cs

Modify existing PadLeft logics to insert spaces at least 1.

On existing implementation, When specifying FirstOperandCharIndex value is lower than Mnemonic length.
First operand is outputted without space between mnemonic.

Arm64Disassembler.cs

Move RegisterValueAccumulator struct to separated file.
And rename to Arm64RegisterValueAccumulator.

Arm64RegisterValueAccumulator.cs

Modify code that using ClrRuntime to IClrRuntime.
This changes are needed to write unit tests for ValueAccumulator.

@filzrev
filzrev force-pushed the chore-modify-arm64-instruction-formatter branch from a6f4d72 to c9df920 Compare August 25, 2026 06:40
@timcassell
timcassell requested a review from adamsitnik August 25, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant