from bitutilities import * if __name__ == '__main__': reg: BasicRegister = BasicRegister(get_memory("memory")) # print(type(reg)) print(reg) print() print([int(value) for value in reg.left_shift()]) print(reg) print() print([int(value) for value in reg.right_shift()]) print(reg)