Friday, February 21, 2020

For generating square wave form using 8086 and 8255

ALP Program for interfacing DAC with 8086 using 8255 
       For generating square wave form

ASSUME CS : CODE

CODE SEGMENT

START:   MOV AL, 80H
                   OUT CWR, AL

LOOP1:    MOV AL, 00H
                   OUT PA_ADDR, AL

                   CALL DELAY

                   MOV AL, FFH
                   OUT PA_ADDR, AL

                   CALL DELAY

                   JMP LOOP1

                   MOV AH, 4CH
                   INT 21H

CODE ENDS

END START

No comments:

Post a Comment