Re: [Amforth] 16/32 Bit Fetch & Store.

2018-10-22 Thread Matthias Trute
> > Is my simplistic picture correct? Yes > Or can the assembler words @ ! +! > indeed be interrupted from within AmForth? No Matthias ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists

Re: [Amforth] 16/32 Bit Fetch & Store.

2018-10-22 Thread Tristan Williams
On 19Oct18 19:32, Matthias Trute wrote: > Am Freitag, den 19.10.2018, 14:46 +0200 schrieb Tristan: > > Hello Martin, > > > > Very intriguing, just when I am away from my machine so I can’t test > > things out! > > > > If I remember correctly, the default Amforth avr build uses (rx,tx) > > interru

Re: [Amforth] 16/32 Bit Fetch & Store.

2018-10-19 Thread Matthias Trute
Am Freitag, den 19.10.2018, 14:46 +0200 schrieb Tristan: > Hello Martin, > > Very intriguing, just when I am away from my machine so I can’t test > things out! > > If I remember correctly, the default Amforth avr build uses (rx,tx) > interrupts to handle the serial prompt. If at the serial prompt

Re: [Amforth] 16/32 Bit Fetch & Store.

2018-10-19 Thread Tristan
Hello Martin, Very intriguing, just when I am away from my machine so I can’t test things out! If I remember correctly, the default Amforth avr build uses (rx,tx) interrupts to handle the serial prompt. If at the serial prompt I type in the word -int and “all” -int did was to issue the assemble

Re: [Amforth] 16/32 Bit Fetch & Store.

2018-10-19 Thread Martin Nicholas via Amforth-devel
On Wed, 17 Oct 2018 13:27:09 +0100 Tristan Williams wrote: > On 17Oct18 10:25, Martin Nicholas via Amforth-devel wrote: > > Hi, > > > > I think that @ ! +! 2@ 2! d+! should disable interrupts on the AVR. > > Although it's possible to code around a variable being changed by an > > interrupt (usin

Re: [Amforth] 16/32 Bit Fetch & Store.

2018-10-17 Thread Tristan Williams
On 17Oct18 10:25, Martin Nicholas via Amforth-devel wrote: > Hi, > > I think that @ ! +! 2@ 2! d+! should disable interrupts on the AVR. > Although it's possible to code around a variable being changed by an > interrupt (using C@ C! for example), the 16-bit counter registers can't > be dealt with

[Amforth] 16/32 Bit Fetch & Store.

2018-10-17 Thread Martin Nicholas via Amforth-devel
Hi, I think that @ ! +! 2@ 2! d+! should disable interrupts on the AVR. Although it's possible to code around a variable being changed by an interrupt (using C@ C! for example), the 16-bit counter registers can't be dealt with in a similar way. Section 17.3 of the datasheet "Accessing 16-bit Regis