From: Johan K. <joh...@id...> - 2001-02-18 18:34:21
|
Yep, that should be saveRegisters()-genIpush() then genIpop()-unsaveRegisters(). I isolated the problem in device/examples/ds390/ow390/owsesu.c (that was the challenge :). I annotated the cause of the problem in src/ds390/gen.c, where the .asm file will clearly show that the sequence is out of order for owsesu.c:60. But I can't see how this is caused by the ds390 code generator, so I believe this yields for all of the ports. Ok, no one ever thought we could ever do something like: cnt += sprintf(&return_msg[cnt], "%s opened\n", port_zstr); but now that we (almost) can, it should be right too. Could someone please fill in? Regards, Johan |