I got a syntax error with: subw x1,hl
it work with pmas, and when I disassemble with mindx, it write: subw x1
same thing with: subw x1,ba
Even if the opcode at the left is correct.
mindx assembler bug
mindx assembler bug
Thanks, Ive corrected the problem for both disassembler and assembler - forgot to put the 2nd parameter for subw. It will be available in next mindx revision
mindx assembler bug
mmh, another thing that I dont understand, why: movw hl,[x1]
or with anyother 16bits reg
the assembler say Syntax Error ?
in mindx.txt there is, movw rw,[x1]
so why ?
or with anyother 16bits reg
the assembler say Syntax Error ?
in mindx.txt there is, movw rw,[x1]
so why ?
mindx assembler bug
another bug that work with pmas and not mindx (syntax error),
movb a,[x1]
movb a,[x1]
mindx assembler bug
mmh, sorry, thats not a bug, it work but mindx assembler seems not to handle a label and an asm instruction on the same line. ^^
mindx assembler bug
I found an error in both pmas and mindx about MOVW rw,[x1]
it say: symbol not found, so maybe the assembler try to find a label named "x1", using opcode $B8 movw rw,[ofs16], instead of using opcode: CF:D0 and CF:D8
same when I try do disassemble, mindx tell me that CF:D1 is unknow, but this opcode work without problem under PokeKaMini debugger.
so, for the moment I use: .db $CF
.db $D1 instead of "movw hl,[x1]" that is not reconised both assembler.
it say: symbol not found, so maybe the assembler try to find a label named "x1", using opcode $B8 movw rw,[ofs16], instead of using opcode: CF:D0 and CF:D8
same when I try do disassemble, mindx tell me that CF:D1 is unknow, but this opcode work without problem under PokeKaMini debugger.
so, for the moment I use: .db $CF
.db $D1 instead of "movw hl,[x1]" that is not reconised both assembler.
mindx assembler bug
and another bug in mindx (and not pmas) ^^ (sorry) "addw hl,ba" opcode $CF $20, mindx tell "addw hl, n" when disassembling o_O
mindx assembler bug
Thanks for the report, all those bugs are fixed now (it will be in next mindx revision, or you can come on irc channel #pmdev if you want the latest one
mindx assembler bug
ok, just tested the new v10 of mindx and all those bug are gone, except one line that worked on the v9 and dont work anymore with the v10
movw x1,%0000100100001000
"symbol not found"
movw x1,%0000100100001000
"symbol not found"
mindx assembler bug
I just fixed both problems, take the new minx_v10 when you see the time of the file changed (and jdbnz was typed as "jbdnz" in asm/disasm, i changed that too)