This time, the halfpop[insp] ops are in. These ops pop off a frame of
saved registers, but only restore registers 16-31. The chunk of the
frame for registers 0-15 is discarded.
Given that the calling conventions mandate things only in registers
0-15, this should (hopefully) make function/sub/method calls a bit
easier to deal with.
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk
---------------------
set S15, "A"
set S16, "B"
pushs
set S15, "C"
set S16, "D"
print S15
print S16
print "\n"
halfpops
print S15
print S16
print "\n"
end
----------------
currently prints:
CD
C
when I'd expect it to print:
CD
CB
Is my expectation wrong, or is this a bug?
Simon
Bug, apparently. I'll go poke around and see what's going on. I'm
presuming I messed up the offset math or something so the restore's
not being done properly.