Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM32 Assembly Language #5346

Open
JoaoBaptMG opened this issue Apr 28, 2021 · 2 comments
Open

ARM32 Assembly Language #5346

JoaoBaptMG opened this issue Apr 28, 2021 · 2 comments
Labels
Add Language Good First Issue This is a great opportunity to start contributing to Linguist

Comments

@JoaoBaptMG
Copy link

Language name

ARM Assembly

URL of example repository

My repository has plenty of source files in ARM assembly, since I have been working a lot with code for the Game Boy Advance. ARM assembly files are heavily used as well on other similar projects on the GBA dev scene (for example, this one, a full repository of ARM assembly functions for the GBA).

URL of syntax highlighting grammar

As far as I know, there's no syntax highlighting grammar specific for the ARM assembly files, but one could be adapted from the x86 assembly grammar.

Most popular extensions

The most used are .s and .asm, though they would have to be manually defined on a .gitattributes file for it to work.

Detected language

They are normally detected as "normal" assembly or even plain text, since .s doesn't have a set extension as far as I am aware.

Note

I'm not sure about the similarity with the AArch64 assembly language, but since it is there, there might be some use for syntax highlighting on it as well.

@JoaoBaptMG JoaoBaptMG added Add Language Good First Issue This is a great opportunity to start contributing to Linguist labels Apr 28, 2021
@LunarLambda
Copy link

There's also the extension .S, used commonly for "Assembly with C Preprocessor", which is exactly what it says on the tin.

@s5bug
Copy link

s5bug commented Oct 19, 2022

👍 +1 for AArch64 assembly. https://github.com/s5bug/m1-helloworld/blob/99d569a25e50cc3fc5f64d69fca8dc1dff873ae4/main.s doesn't look that great otherwise (it gets treated as m68k assembly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add Language Good First Issue This is a great opportunity to start contributing to Linguist
Projects
None yet
Development

No branches or pull requests

3 participants