mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
Make computation of ~(CELL-1) simpler
This commit is contained in:
parent
aa1246ef45
commit
717d2e28fb
1 changed files with 2 additions and 2 deletions
4
core.fs
4
core.fs
|
@ -197,8 +197,8 @@ cB i, 'h, '@, '$, 'h, 'L, k1k0-, '+, 'h, '!, 'e, l!
|
|||
\ 'a' ( c-addr -- a-addr ) ALIGNED
|
||||
\ Round up 'a' to a multiple of CELL
|
||||
ca i,
|
||||
'L, Ck1k0--, '+, \ ( a+CELL-1 )
|
||||
'L, Ck1k0-- k0k1- ^, \ ( a+CELL-1 ~(CELL-1) )
|
||||
'L, Ck1k0--, '+, \ ( a+CELL-1 )
|
||||
'L, k0k0-C-, \ ( a+CELL-1 ~(CELL-1) )
|
||||
'&, 'e,
|
||||
l!
|
||||
|
||||
|
|
Loading…
Reference in a new issue