diff --git a/main.py b/main.py index 7fbf729..b7d425e 100644 --- a/main.py +++ b/main.py @@ -3,11 +3,14 @@ from bitutilities import * if __name__ == '__main__': reg: BasicRegister = BasicRegister(get_memory("memory")) + # print(type(reg)) print(reg) - print(reg.left_shift()) + print() + print([int(value) for value in reg.left_shift()]) print(reg) - print(reg.right_shift()) + print() + print([int(value) for value in reg.right_shift()]) print(reg)