VTech Alphabert s Magic Readport User Manual Page 33

  • Download
  • Add to my manuals
  • Print
  • Page
    / 80
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 32
BM Dept., Govt. Engg. College, Gandhinagar Page 33
ACALL DELAY
MOVC A,@A+DPTR
MOV P1,A ;Display count value
AJMP again ;Continue DIP switch reading process
DELAY: MOV R6,#0ffh
LOOP1: DJNZ R6,LOOP1
RET
CODE: db 0C0h,0F9h,0A4h,0B0h,99h,92h,82h,0F8h,80h,90h,0C8h,
db 83h,0C6h,0A1h, 86h, 8Eh, 00h
END
:: WORKSHEET ::
Exercise:
A. Write program to display count value F to 0 at the interval of 1 second on seven segment
display connected at port P1.
Memory
Location
HEX
code
Label Opcode Operands Comments
Page view 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 79 80

Comments to this Manuals

No comments