minor style fix

This commit is contained in:
Koichi Nakamura 2021-12-06 22:44:12 +09:00
parent 96ceb57bd4
commit b2fd58b688

View file

@ -57,7 +57,7 @@ def read_byte(addr):
def write_byte(addr, c):
i = addr >> CELL_SHIFT
m = (addr % CELL)*8
m = (addr % CELL) * 8
v = memory[i]
memory[i] = (v & ~(0xff << m)) | (c&0xff) << m