mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +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
|
||||
np = 0
|
||||
|
||||
ALIGN_MASK = CELL - 1
|
||||
ALIGN_MASK = ~(CELL - 1)
|
||||
def aligned(n):
|
||||
return (n + CELLm1) & ALIGN_MASK
|
||||
|
||||
|
|
Loading…
Reference in a new issue