ALP to interface 8086 processor with 8255 PPI to generate the sine wave

OUTPUT  2500AD
        ORG     2000H
START:
mov dx,0FFE6H
mov al,80h
      out dx,al
      mov SI,2100h
 da: mov al,[SI]
    mov dx,0FFE0H
    out dx,al
    mov dx,0FFE2H
    out dx,al
      inc SI
cmp SI,2136H
      jne da
      mov SI,2100h
      jmp da

ORG 2100H
LOOK: DB 7fH,95h,0aah,0beh,0d0h,0e0h,0ech,0f6h,0fch,0feh ; 00 to900
        DB 0fch,0f6h,0ech,0e0h,0d0h,0beh,0aah,095h,07fh ; 1000 tO 1800
      DB 68h,53h,3fh,2dh,1dh,11h,7h,1h,0h ; 1900  to 2700
        DB 01h,7h,11h,1dh,2dh,3fh,53h,68h,7fh ; 2800 to 3600

SHARE

Rishabh Chatterjee

Hi. I’m Engineering Student. I’m YouTuber. I’m Trying to find my passion.Sharing my life experiences with the world.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

1 comments:

Featured post

BENGALURU TO KANNUR

Welcome to Part 1 Of My Bengaluru To Kannur Trip.After almost 6 months finally im going on a road trip.I Hope you all enjoy this video.