mirror of
https://github.com/nineties/planckforth
synced 2024-12-27 21:58:35 +01:00
fixed a bug of previous commit
This commit is contained in:
parent
3656a1e5c9
commit
5554c671e8
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ rp = (MEMORY_SIZE - STACK_SIZE) * CELL
|
||||||
ip = 0
|
ip = 0
|
||||||
np = 0
|
np = 0
|
||||||
|
|
||||||
ALIGN_MASK = CELL - 1
|
ALIGN_MASK = ~(CELL - 1)
|
||||||
def aligned(n):
|
def aligned(n):
|
||||||
return (n + CELLm1) & ALIGN_MASK
|
return (n + CELLm1) & ALIGN_MASK
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue