binaryCalculatorPrototype/main.py

14 lines
222 B
Python

from bitutilities import *
if __name__ == '__main__':
reg: BasicRegister = BasicRegister(get_memory("memory"))
print(reg)
print(reg.left_shift())
print(reg)
print(reg.right_shift())
print(reg)