My code for the first time using MVN:
Asar reports:
I've added a .w since LDY <singlebyte or triple byte addressing> does not exist. But for some reason, asar decided not to cut off byte 2 (3rd highest byte). Is there a way around this?
Give thanks to RPG hacker for working on Asar.
Code
PHB REP #$30 LDA.w #(!GraphiBar_LeftTileExist+(!GraphiBar_MiddleTileExist*!Default_MiddleLength)+!GraphiBar_RightTileExist)-1 LDX.w !Scratchram_GraphicalBar_FillByteTbl LDY.w (!Scratchram_GraphicalBar_FillByteTbl+!GraphiBar_LeftTileExist+(!GraphiBar_MiddleTileExist*!Default_MiddleLength)+!GraphiBar_RightTileExist) MVN (!Scratchram_GraphicalBar_FillByteTbl>>16), (!Scratchram_GraphicalBar_FillByteTbl>>16) SEP #$30 PLB
Asar reports:
Code
Processing binary file 'DoubleBar.asm': DoubleBar.asm:160: error: Unknown command. [LDY.w ($7F844B+1+(1*7)+1)]
I've added a .w since LDY <singlebyte or triple byte addressing> does not exist. But for some reason, asar decided not to cut off byte 2 (3rd highest byte). Is there a way around this?
Give thanks to RPG hacker for working on Asar.