Just a quick update on this specific point.

On Mon, Jan 5, 2026 at 9:42 AM Martin Kobetic <[email protected]> wrote:

> On Mon, Jan 5, 2026 at 4:08 AM <[email protected]> wrote:
>
>> In the short term, assuming similarities between ARM and RISC-V repo
>> code,
>> you might want to have a look at how and where code is compiled and how
>> that impacts on VARIABLE, for example.
>
>
Looks like it behaves as expected, both colon definitions and variables go
into RAM
---

> : +4 4 + ;

 ok

> ' +4

 ok

> .s

3  200002A8 20000288 8  ok

> variable X

 ok

> ' X

 ok

> .s

4  200002C4 200002A8 20000288 8  ok

> X

 ok

> .s
5  200002B8 200002C4 200002A8 20000288 8  ok
---
SRAM starts at 0x20000000 and the first 0x288 bytes are occupied by the
various runtime structures, so new definitions are simply slotted into the
next free space there.

_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to