Question: Numbers are entered into a microcontroller-based system in BCD, but stored in straight binary. As a programmer, you must decide whether you need a one-byte
Numbers are entered into a microcontroller-based system in BCD, but stored in straight binary. As a programmer, you must decide whether you need a one-byte or two-byte storage location.
(a) How many bytes do you need if the system takes a two-digit decimal entry?
(b) What if you needed to be able to enter three digits?
Step by Step Solution
3.45 Rating (152 Votes )
There are 3 Steps involved in it
a With two digits you can enter values up to 99 1001 1001 BCD In ... View full answer
Get step-by-step solutions from verified subject matter experts
