On 11/10/2013 04:16 AM, craig and heather wrote:
> never mind I guess I tired or just an idiot
Do not despair --- the stack thing got all of us at least once!
:-)
Cheers,
Erich
--
November Webinars for C, C++, Fortran D
There is a moral here: do not try to use the stack as an array where you
access values by their indices, since the indices change whenever the stack
changes depth. Whether PICK is unforth or not I don't care, but it's use is
prone to exactly this sort of error. Like goto in "C", only use when you
r
Hi,
Sometimes I find it usefull to simulate the AVR with my firmware
before I put it into hardware. Sometimes also I have to test something
wothout access to the real hardware.
Therefore I've tried to use Amforth together with simavr and
terminal (namely minicom) connected via Linux pty.
I was abl
On Sat, 2013-11-09 at 19:42 -0700, craig and heather wrote:
> Then I try this subtraction. 1 pick = 300; 3 pick = 100; I expect 200
>
> (ATmega328P)> 1 pick 3 pick - .
>
> 100 ok
>
> Got 100 as the answer?
I don't have my board handy right now, but I think you'll find:
> .s
400 300 200 10
On Sun, 2013-11-10 at 20:22 -0800, Keith Amidon wrote:
> I don't have my board handy right now, but I think you'll find...
Oops. Somehow the follow-up messages weren't threaded with the original
in my mail client so I didn't realize there were a bunch of replies
already. Anyway, the explicitly c