Fix ass to match the EM spec.
authorGeorge Koehler <xkernigh@netscape.net>
Fri, 9 Dec 2016 22:32:42 +0000 (17:32 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Fri, 9 Dec 2016 22:32:42 +0000 (17:32 -0500)
commit17211eef475fcf91cda493c968c0565798f413a4
tree7fbc7b3833dba834878bad4889eb0a62b761981f
parent5bd0ad42692cab2932e0496849a95bf080512651
Fix ass to match the EM spec.

The spec says, "ASS w: Adjust the stack pointer by w-byte integer".
The w argument "can either be given as argument or on top of the
stack."  Therefore, 'ass 4' would pop the 4-byte integer from the
stack, but 'ass' would pop the size w from the stack, then pop the
w-byte integer.

PowerPC ncg wrongly implemented 'ass' as if it was 'ass 4'.  Fix it to
accept only 'ass 4'.
mach/powerpc/ncg/table