integer to binary conversion

I am writing a program that converts a decimal number to its binary value. The problem is that the output has to be displayed on a seven digit led display. I need to know how to write to the different ports to display the output.

please help


  • I understand you are writing a program for a training kit like digiac2000 ,aren't you?

    If you, then you shouldn't use this port name. You can display the result only with system calls.

    For instance (for Digiac2000) :
    mov al,"A"
    mov ah,0ch
    ınt 028h

    this code writes to led A.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion