DAC interfacing with 8051 - Assembly Program Code - Proteus stimulation - AT89C51 - Keil


The program is stimulated in proteus, compiled in Keil for 8051 - AT89C51 in assembly language.

Program for DAC interfacing with 8051 in assembly language using proteus and uvision,

Flowchart:-



Proteus Stimulation:-



Program:-

ORG 00H
CLR A
CHECK: JB P1.0, SAW
CLR A
TRIANG: MOV P2, A
INC A
CJNE A, #0FFH,TRIANG
DECR: MOV P2,A
DEC A
CJNE A,#00H,DECR
SJMP CHECK
SAW: CLR A
SAWT: MOV P2, A
INC A
CJNE A, #0FFH, SAWT
CLR A
MOV P2, A
SJMP CHECK
END


For more ASM programs - click here

Popular posts from this blog

Mini Militia Chat Codes - Shortforms

8051 Assembly Program Code for Sorting in Ascending Order - Keil -AT89C51