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

asm/code_8001F980.s:3150: Error: invalid operands `lw $a0,%lo(D_800DC4DC)$a0)' #14

Closed
Tatsh opened this issue Mar 3, 2021 · 2 comments

Comments

@Tatsh
Copy link

Tatsh commented Mar 3, 2021

Change from #11 breaks assembler.

mips64-elf-as -march=vr4300 -mabi=32 -I include -I build/us --defsym F3DEX_GBI=1 -o build/us/asm/code_8001F980.o asm/code_8001F980.s
asm/code_8001F980.s: Assembler messages:
asm/code_8001F980.s:3150: Error: invalid operands `lw $a0,%lo(D_800DC4DC)$a0)'
make: *** [Makefile:206: build/us/asm/code_8001F980.o] Error 1

/* 023468 80022868 8C84C4DC */ lw $a0, %lo(D_800DC4DC)$a0) # -0x3b24($a0)

Going back to what it was makes it build.

@Tatsh
Copy link
Author

Tatsh commented Mar 3, 2021

Did you mean to write %lo(D_800DC4DC)($a0) (missing ()?

@MegaMech
Copy link
Collaborator

MegaMech commented Mar 4, 2021

Yes that was a spelling mistake. Thanks for letting us know.

@Tatsh Tatsh closed this as completed Mar 4, 2021
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

No branches or pull requests

2 participants