home .. forth .. misc mail list archive ..

Re: P21 quirks


On Tue, 18 Apr 1995 rockwell@nova.umd.edu wrote:

> Consider this instruction sequence:
> a!  @+  a   dup
> dup -or com nop
> +

This sounds as it should work to me.

These are pattern, not munbers below:

> 012345
> 000006
> 000006
> 000006
> 	-or
> 012345
> 000006
> 000000

Oops, the answer should be the _number_ 00000, so the pattern has to 
be AAAAA

In this case, since we are not dealing with the hardware representation at
the bus level, I think that the notion of patterns doesn't help in explaining
the operations above. Thinking at the number level is adequate and does 
the trick.

--
Penio Penev <Penev@venezia.Rockefeller.edu> 1-212-327-7423