fixed a bug of previous commit

This commit is contained in:
Koichi Nakamura 2021-12-07 02:11:46 +09:00
parent 3656a1e5c9
commit 5554c671e8

View file

@ -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