Welcome! Log In Create A New Profile

Advanced

2Swap not working

Posted by RobS 
2Swap not working
May 24, 2012 03:12AM
Hello,

Everytime I run 2swap, the 3rd element on the stack is incorrect.

ok <0>[] cold
Last Wrd| Vrble off| LatestID| Ntx Flash|
00005FB4 00000000 00000001 00006000
BV Forth(ARM), Copyright Jim Spence V1.207
[LPC2132]

ok <0>[] 1 2 3 4
ok <0>[1 2 3 4 ] 2swap
ok <0>[3 1073757876 1 2 ]


ok <0>[] 4 5 6 7
ok <0>[4 5 6 7 ] 2swap
ok <0>[6 1073757876 4 5 ]


Is this a bug? Is there a workaround?

Thanks,
Rob.
Re: 2Swap not working
May 24, 2012 10:15AM
Rob,
it could be: The source code is now available so take a look: [www.byvac.com]
Sorry, only registered users may post in this forum.

Click here to login