n64decomp / mk64

A speedy Mario Kart 64 decompilation, brought to you by the cousin of a tame racing driver.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Tatsh opened this issue · comments

commented

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.

commented

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

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