VTech Alphabert s Magic Readport User Manual Page 25

  • Download
  • Add to my manuals
  • Print
  • Page
    / 80
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 24
BM Dept., Govt. Engg. College, Gandhinagar Page 25
D. A switch is connected to P3.2. Write a program to perform following:
a. If Switch is OFF, send data 0x88 to P0.
b. If Switch is ON, send data 0x55 to P0.
Assembly language program:
Memory
Location
HEX
code
Label Opcode Operands Comments
C language program:
Page view 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 79 80

Comments to this Manuals

No comments