Made with Visual Studio 2017
Program uses Booth's multiplication algorithm for unsigned numbers.
Values are stored in vectors of boolean values:
- MD = Multiplicand
- MQ = Multiplier
- AC = Accumulator
- PR = Product
0th index in vector is 0th spot in 16-bit number.
Counter is used to show steps in algorithm.
- Compile and run main.cpp individually using C++11
- Open Visual Studio project file in folder SimulationProgram_CSCI113 and compile/run
In main:
- Change vector MD's values to any 16-bit number for the Multiplicand
- Change vector MQ's values to any 16-bit number for the Multiplier