next up previous contents
Next: 9.1.5 mcan_int.asm Up: 9.1 Khepera-Modul Previous: 9.1.3 init.asm

9.1.4 leds.asm

******************************************************************************************************
* Studienarbeit      Christopher Odenbach                                                            *
*                                                                                                    *
* WS98/99                                                                                            *
*                                                                                                    *
* mit Dank an Willi                                                                                  *
******************************************************************************************************

******************************************************************************************************
*   MOTOROLA  MC68HC705X32                                                                           *
*                                                                                                    *
*    LED toggle routines                                                                             *
*                                                                                                    *
*                                                                                                    *
*                                                                                                    *
*                                                                                                    *
*                                                                                                    *
******************************************************************************************************


******************************************************************************************************

******************************************************************************************************
* Toggle LEDS
******************************************************************************************************

LED_1                   EQU     *
                        LDA     PORT_B
                        EOR     #$80
                        STA     PORT_B
                        RTS

LED_2                   EQU     *
                        LDA     PORT_B
                        EOR     #$40
                        STA     PORT_B
                        RTS



Christopher Odenbach
1999-06-01