WP34s: IDIV and the stack
|
01-13-2015, 12:00 AM
Post: #3
|
|||
|
|||
RE: WP34s: IDIV and the stack
Looks like a bug again, I thought we'd handle this case or at least did.
(01-12-2015 06:58 PM)Dieter Wrote: This is where I discovered an unexpected behaviour of the IDIV command. With SSIZE 8 set, register T seems to get copied down to Z as the stack drops while the higher levels A to D do not change at all – just as it would happen in SSIZE 4. (01-12-2015 11:42 PM)Bit Wrote: It's up to Pauli and Marcus to decide how they'd like to resolve the problem. Personally I'd reexamine whether forcing a four-level stack for XROM code is really necessary. The four level forced stack was done to save having to special case the solve and integrate code when we introduced variable stack sizes. Most of XROM came a lot later, so it was easier to remain stuck with this decision than to rework solve and integrate to be more stack friendly -- they can't call XIN, so have to do everything themselves and they are not an easy piece of coding. To me, the fix would be doing the correct stack operations in XOUT, Marcus? Pauli |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 14 Guest(s)