lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


In message <8739y3zjul.fsf@mid.deneb.enyo.de> you wrote:

> The disassembler has not been updated in the work releases.

Yes. I had been puzzling over what needs changing in print.c to
make it work. Maybe this is an itch that I would be better off
ignoring. But then a great deal of disassembly still works OK.
I can see that PrintCode needs an extra

  int ax=GETARG_Ax(i);

at the beginning and an extra

   case iAx:
    printf("%d",ax);
    break;

in switch (getOpMode(o)). And I can see that any error has to occur
by trying to fetch data from the wrong place rather than in trying to
print it out.

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/