Diff between 11/20 and 11/45?
Tim Shoppa
SHOPPA at trailing-edge.com
Wed Sep 8 10:48:50 AEST 1999
> MOV SP, -(SP)
>
>It isn't really clear to me why one would want to use this particular
>instruction
"MOV SP" is often-used shorthand for "MOV some-non-zero-value", since no
sane implementation would ever have a zero in the SP. So this would
put a non-zero value on top of the stack (perhaps as a flag, to be
cleared by CLR (SP) when ready) - at least on machines where this was legal!
On which machine does this fail, BTW? On a 11/15, 11/20, 11/23, 11/35
or 11/40 this ought to work, decrementing SP by two before putting it on
the stack, and on the 11/03, 11/04, 11/05, 11/10, 11/34, and 11/45
SP is decremented by two before being put on the stack, according to my
notes.
--
Tim Shoppa Email: shoppa at trailing-edge.com
Trailing Edge Technology WWW: http://www.trailing-edge.com/
7328 Bradley Blvd Voice: 301-767-5917
Bethesda, MD, USA 20817 Fax: 301-767-5927
Received: (from major at localhost)
by minnie.cs.adfa.edu.au (8.9.3/8.9.3) id LAA03973
for pups-liszt; Wed, 8 Sep 1999 11:47:41 +1000 (EST)
More information about the TUHS
mailing list