What exactly is TRB in the asm? What does it do? It's not listed in the NX500 core pdf.
Andy maybe you know what it is since it's created by your decompiler..
Ex:
Code:
TRB off(001bfh) ; 05D6 0 108 280 C4BF13
Hunh. No clue, actually. It's just listed in 66207.op so it's handled automatically - I didn't type in any of that stuff, or my asm+dasm would have taken like 100 times longer to write...
I'm certain you'll find it in the 66k programming manual though.
In fact, I still have a .pdf on my desktop... Ahha.
"TRB" is actually a typo for "TBR". It tests bit [A2..0] of the object (01b1h in this case) and sets the zero flag accordingly, where [A2..0] means the lower three bits of the accumulator.
So 66207.op was wrong.. I will commit a fix for that in sourceforge, but I don't feel like building the executables for it now.
We will have to be diligent to convert all of the incorrect bins that have TRB instead of TBR or the new dasm won't handle it properly.