Lots of fixes:
Lots of fixes:

1) The data operations were fixed so that compare (and other operations)
   work correctly when an operand is 0.  The bug was that I was ~m but then
   adding 1 making 0 -> 0.  The correct solution is to set m = ~m.  Then
   when calculating, use d = n + m + 1.  Now, the carry test logic can
   function properly on the available data (including ~m).

2) Added support for sync_caches.  :-)

3) Added some unpredictables (one, maybe) and unimplemented.

4) Added support for loadb and storeb.

Now the basic FORTH kernel runs properly.



git-svn-id: 2a42d4147853adcf1a20d13614e77797555e50d1@38 d0763410-cf01-4c7c-9b55-0f7f3399ec47

rthelen/arm-sim,rthelen/arm-sim,rthelen/arm-sim