gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unexpected emit Behaviour


From: John PH
Subject: Unexpected emit Behaviour
Date: Fri, 28 Feb 2020 18:26:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

Hello,

Thanks for your great work with gforth.


I found when use emit with gforth 0.7.9_20200227 under android 9, on my Samsung tablet and my Samsung phone, if the value I am "emitting" is between 255 and 128 there is an extra 1 left on the stack afterwards. It behaves as I would expect between 0 and 127.


Doing the same thing on Ubuntu 18.04 gforth 0.7.9_20200227 always leaves nothing on the stack for all values between 255 and 0. This is what I would expect.


The Android behaviour not what I was expecting and wonder if it is a bug.


Typing:

128 emit


... should show the issue.


Thank you,


John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]