Commit Graph

15 Commits

Author SHA1 Message Date
Rhinemann 0f94f6d37a Minor rewrites. 2023-06-27 16:43:18 +03:00
Rhinemann b3c5011c11 Revamped function scopes. 2023-06-27 15:53:20 +03:00
Rhinemann f477c6f9e1 binary_subtraction_1_complement initial commit. 2023-06-27 15:34:39 +03:00
Rhinemann d2df4bbf28 Renamed arguments inside binary_sum.
Added carry return (VERY NOT SURE IF IT WORKS CORRECTLY).
2023-06-27 14:18:10 +03:00
Rhinemann 132a0b5659 Changed the conditions checking register lengths. 2023-06-27 14:09:07 +03:00
Rhinemann 75f7dba546 Implemented __repr__ and __len__ for BasicRegister. 2023-06-27 14:07:47 +03:00
dymik739 f2ee4cd709 fix BasicRegister shrinking 2023-06-26 22:33:41 +03:00
Rhinemann 8f68099309 Minor adjustments to bitutilities.py. 2023-06-26 21:58:24 +03:00
dymik739 d25dacf35b add sum function for addition of two registers 2023-06-26 21:05:45 +03:00
Rhinemann 4dfd6ef417 revert 65750694e4
revert Delete 'bitutilities.py'
2023-06-26 00:26:09 +03:00
Rhinemann 65750694e4 Delete 'bitutilities.py' 2023-06-26 00:15:07 +03:00
Rhinemann ede83eeb8e Optimised reverse method (I have proofs of speed) (I have been slightly mistaken). 2023-06-25 22:57:12 +03:00
Rhinemann f747e3b530 Optimised reverse method (I have proofs of speed). 2023-06-25 22:33:52 +03:00
Rhinemann e5a88058ed Swapped list for decue for BasicRegister's memory to optimise shifting methods for both directions.
Moved get_memory to the end.
2023-06-25 21:58:43 +03:00
Rhinemann 198e984e32 Commit. 2023-06-25 19:39:37 +03:00