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

Add sigils for assembly? #95

Open
jbush001 opened this issue Jan 10, 2018 · 0 comments
Open

Add sigils for assembly? #95

jbush001 opened this issue Jan 10, 2018 · 0 comments

Comments

@jbush001
Copy link
Owner

jbush001 commented Jan 10, 2018

Nyuzi assembly uses a minimal assembly form with no sigils (character prefixes that indicate type). However, when there are typos, this can result in confusing error messages and may let bugs slip through. It might be useful to add more specific type specifiers.

Quick survey of other architectures:

Register Relocation Immediate Value
Mips $3 %got(var) 24
PowerPC %r12 var@got 25
x86 (gas) %eax var@got 24
AArch64 x3 :gottprel:var #7
ARM r7 n/a #7
Nyuzi s8/v9 got(foo) 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant