Posts Tagged ‘odd or even number’

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

Thursday, August 27th, 2009

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.
(more…)