Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

68hc11 port A and C setting HELP!!!!!

Status
Not open for further replies.

Noggin

Member

Papabravo

Well-Known Member
how to set all PORT A & PORT C into all OUTPUT.....
in asm form
i dont want C code.....
Something like
Code:
    ldaa  #0FFh  ; All ones to accumulator A
    staa  DDRA   ; All PORTA bits are outputs
    staa  DDRC   ; All PORTC bits are outputs
 
Status
Not open for further replies.

EE World Online Articles

Loading
Top