
I coded this back when I was taking up Computer System Organization. It was a homework that I decided to share in my old blog.
The program accepts a one-digit number as the input, and then shows whether that number is ODD or EVEN.
The program uses the attribute byte to highlight ODD or EVEN with a color.
(more…)
