GaryOderNichts / drc-fw-patches

GNU General Public License v2.0
6 stars 0 forks source link

armips invalid opcode #1

Open CookieSwitchOLED opened 3 months ago

CookieSwitchOLED commented 3 months ago

i run make, and armips tells me this:

"Patching LVC.bin" C:\Users\Cookieswitch\Documents\drc-fw-patches/LVC.s(13) error: Invalid ARM opcode C:\Users\Cookieswitch\Documents\drc-fw-patches/LVC.s(17) error: Invalid ARM opcode C:\Users\Cookieswitch\Documents\drc-fw-patches/LVC.s(18) error: Invalid ARM opcode Aborting.

cooolgamer commented 1 month ago

same issue here, tried with multiple regions if it matter

cooolgamer commented 1 month ago

Fixed using copilot: replace d8 with byte and d32 with word in the LVC_.s then it should work

GaryOderNichts commented 1 month ago

armips supports sized directives since 2023 (https://github.com/Kingcom/armips/pull/236), but hasn't gotten a release since 2020. You'll either need to build armips from source or download the latest builds (their buildbot seems to be down though).