mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
Add i32%, u32%, i16%, u16%
This commit is contained in:
parent
67c4b25adc
commit
82334990a3
1 changed files with 5 additions and 1 deletions
|
@ -1668,9 +1668,13 @@ do-stack 16 cells + do-sp !
|
|||
|
||||
: cell% ( -- align size ) cell cell ;
|
||||
: char% ( -- align size ) 1 1 ;
|
||||
: byte% cell% ;
|
||||
: byte% 1 1 ;
|
||||
: ptr% cell% ;
|
||||
: int% cell% ;
|
||||
: i32% 4 4 ;
|
||||
: u32% 4 4 ;
|
||||
: i16% 2 2 ;
|
||||
: u16% 2 2 ;
|
||||
|
||||
\ allocate user memory
|
||||
: %allot ( align size -- addr )
|
||||
|
|
Loading…
Reference in a new issue