digraph G { node[shape="box"]; BRATE; BRATE [ label= "BRATE EQU"shape=ellipse color=blue size=3.0 ]; BRATE -> SCCR1; SCCR1 [ label= "SCCR1 EQU"shape=ellipse color=blue size=3.0 ]; SCCR1 -> SCCR2; SCCR2 [ label= "SCCR2 EQU"shape=ellipse color=blue size=3.0 ]; SCCR2 -> SCDAT; SCDAT [ label= "SCDAT EQU"shape=ellipse color=blue size=3.0 ]; SCDAT -> SCSR; SCSR [ label= "SCSR EQU"shape=ellipse color=blue size=3.0 ]; SCSR -> TEMP; TEMP [ label= "TEMP EQU"shape=ellipse color=blue size=3.0 ]; TEMP -> TEMPHI; TEMPHI [ label= "TEMPHI EQU"shape=ellipse color=blue size=3.0 ]; TEMPHI -> TEMPLO; TEMPLO [ label= "TEMPLO EQU"shape=ellipse color=blue size=3.0 ]; TEMPLO -> INITIAL; INITIAL [ label= "INITIAL LDA"shape=ellipse color=blue size=3.0 ]; INITIAL -> 1 ; 1 [ label = " acc = #%00110000"shape=rectangle color=black size=4.6 ]; 1 -> 2 ; 2 [ label = " BRATE = acc "shape=rectangle color=black size=4.6 ]; 2 -> 3 ; 3 [ label = " acc = #%00000000"shape=rectangle color=black size=4.6 ]; 3 -> 4 ; 4 [ label = " SCCR1 = acc "shape=rectangle color=black size=4.6 ]; 4 -> 5 ; 5 [ label = " acc = #%00001100"shape=rectangle color=black size=4.6 ]; 5 -> 6 ; 6 [ label = " SCCR2 = acc "shape=rectangle color=black size=4.6 ]; 6 -> 7 ; 7 [ label = " |--> GETDATA"shape=rectangle color=black size=4.6 ]; 7 -> GETDATA; 7 -> 8 ; 8 [ label = " TEMP = acc "shape=rectangle color=black size=4.6 ]; 8 -> 9 ; 9 [ label = " and #$0F"shape=rectangle color=black size=4.6 ]; 9 -> 10 ; 10 [ label = " ora #$30"shape=rectangle color=black size=4.6 ]; 10 -> 11 ; 11 [ label = " U<= --> ARN1"shape=hexagon color=red size=2.6 ]; 11 -> ARN1; 11 -> 12 ; 12 [ label = " add #7"shape=rectangle color=black size=4.6 ]; 12 -> ARN1; ARN1 [ label= "ARN1 STA"shape=ellipse color=blue size=3.0 ]; ARN1 -> 13 ; 13 [ label = " TEMPLO = acc "shape=rectangle color=black size=4.6 ]; 13 -> 14 ; 14 [ label = " acc = TEMP"shape=rectangle color=black size=4.6 ]; 14 -> 15 ; 15 [ label = " lsra Shift"shape=rectangle color=black size=4.6 ]; 15 -> 16 ; 16 [ label = " lsra "shape=rectangle color=black size=4.6 ]; 16 -> 17 ; 17 [ label = " lsra "shape=rectangle color=black size=4.6 ]; 17 -> 18 ; 18 [ label = " lsra "shape=rectangle color=black size=4.6 ]; 18 -> 19 ; 19 [ label = " ora #$30"shape=rectangle color=black size=4.6 ]; 19 -> 20 ; 20 [ label = " U<= --> ARN2"shape=hexagon color=red size=2.6 ]; 20 -> ARN2; 20 -> 21 ; 21 [ label = " add #7"shape=rectangle color=black size=4.6 ]; 21 -> ARN2; ARN2 [ label= "ARN2 STA"shape=ellipse color=blue size=3.0 ]; ARN2 -> 22 ; 22 [ label = " TEMPHI = acc "shape=rectangle color=black size=4.6 ]; 22 -> 23 ; 23 [ label = " acc = #$0D"shape=rectangle color=black size=4.6 ]; 23 -> 24 ; 24 [ label = " |--> SENDATA"shape=rectangle color=black size=4.6 ]; 24 -> SENDATA; 24 -> 25 ; 25 [ label = " acc = #$0A"shape=rectangle color=black size=4.6 ]; 25 -> 26 ; 26 [ label = " |--> SENDATA"shape=rectangle color=black size=4.6 ]; 26 -> SENDATA; 26 -> 27 ; 27 [ label = " acc = #'$"shape=rectangle color=black size=4.6 ]; 27 -> 28 ; 28 [ label = " |--> SENDATA"shape=rectangle color=black size=4.6 ]; 28 -> SENDATA; 28 -> 29 ; 29 [ label = " acc = TEMPHI"shape=rectangle color=black size=4.6 ]; 29 -> 30 ; 30 [ label = " |--> SENDATA"shape=rectangle color=black size=4.6 ]; 30 -> SENDATA; 30 -> 31 ; 31 [ label = " acc = TEMPLO"shape=rectangle color=black size=4.6 ]; 31 -> 32 ; 32 [ label = " |--> SENDATA"shape=rectangle color=black size=4.6 ]; 32 -> SENDATA; 32 -> 33 ; 33 [ label = " --> START"shape=rectangle color=black size=4.6 ]; 33 -> START; GETDATA; GETDATA [ label= "GETDATA BRCLR"shape=ellipse color=blue size=3.0 ]; GETDATA -> 34 ; 34 [ shape=hexagon color=red size=3.6 label= "if( SCSR.5 == 0 )" ]; 34 -> 35 ; 35 [ label = " goto GETDATA RDRF"shape=rectangle color=black size=4.6 ]; 35 -> GETDATA RDRF; 34 -> 36 ; 36 [ label = " acc = SCDAT"shape=rectangle color=black size=4.6 ]; 36 -> 37 ; 37 [ label = " rts **" ]; SENDATA; SENDATA [ label= "SENDATA BRCLR"shape=ellipse color=blue size=3.0 ]; SENDATA -> 38 ; 38 [ shape=hexagon color=red size=3.6 label= "if( SCSR.7 == 0 )" ]; 38 -> 39 ; 39 [ label = " goto SENDATA TDRE"shape=rectangle color=black size=4.6 ]; 39 -> SENDATA TDRE; 38 -> 40 ; 40 [ label = " SCDAT = acc "shape=rectangle color=black size=4.6 ]; 40 -> 41 ; 41 [ label = " rts **" ]; }