Re: A86: input command
[Prev][Next][Index][Thread]
Re: A86: input command
On Fri, 5 Sep 1997, Butler Family wrote:
> Is there an asm version of the input command? Also could someone
Yes.
> explain to me the cp command and how to use it to find if a is greater
> than b (those r just example variables)
>
CP is like SUB, except that it does not store the result anywhere. Only
the flags are modified.
cp b
jr z,a_equals_b
jr c,a_less_than_b
jr nc,a_greater_than_or_equal_to_b
--------
Dan Eble (mailto:eble@cis.ohio-state.edu)
(http://www.cis.ohio-state.edu/~eble)
Follow-Ups:
References: