align  ( -- )

published: 8 January 2022 / updated 24 February 2026

Lire cette page en français

 

vocabulary: forth

Align the current data section dictionary pointer to cell boundary.

Some internal processes specific to the processor used by ESP32forth require that the memory address be a multiple of four. If this constraint is not met, the code may not function.

Example:

\ CREATE XDATAS 
\ no garanty to use of aligned datas 
0 value XDATAS 
    align            \ skip here to aligned address  
    here to XDATAS 
    256 allot 

Legal: site web personnel sans commerce / personal site without seling