Question: Develop a program that takes a numeric input (0 to 63) and converts it to binary. You will use the LMC (Little Man Computer) for
Develop a program that takes a numeric input (0 to 63) and converts it to binary. You will use the LMC (Little Man Computer) for this program. The LMC is a decimal only machine and outputs 3 digits (000 - 999). Since 2^6 is 64 combinations, 2 numbers will be output. For example a 24 is entered, first digit out is 011 and second is 000. You can have a infinite loop or a stop input. The output has leading zero suppression. So a blank is considered a zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
