mirror of
https://github.com/nineties/planckforth
synced 2025-01-13 08:01:10 +01:00
minor style fix
This commit is contained in:
parent
96ceb57bd4
commit
b2fd58b688
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def read_byte(addr):
|
||||||
|
|
||||||
def write_byte(addr, c):
|
def write_byte(addr, c):
|
||||||
i = addr >> CELL_SHIFT
|
i = addr >> CELL_SHIFT
|
||||||
m = (addr % CELL)*8
|
m = (addr % CELL) * 8
|
||||||
v = memory[i]
|
v = memory[i]
|
||||||
memory[i] = (v & ~(0xff << m)) | (c&0xff) << m
|
memory[i] = (v & ~(0xff << m)) | (c&0xff) << m
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue