Catzie.net Blog
Programming, Networking, and other Downloads by Catzie
 

Assembly Language: check if a one-digit input number is odd or even


assembly programming odd even number

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.

Continue reading »