hello

in a little subroutine i have an effect which i can't unterstand.
set first one bit from a.0 to a.3 to high (part1 in code) and the manipulate only a.5 (part2). but the instruction to set a.5 high, clears the active output from porta set in part1. but both should be set after that...
thanks for a support

gabel var porta.5

init: clear
TRISA = %00000000
TRISB = %00000000
TRISC = %01110000
PORTA = 0
PORTB = 0
PORTC = 0
low gabel

main:
...

GOTO main

lamp:
' ----- part 1 -----
PORTA = 0
PORTB = 0
porta.0[taster-8] = 1 ' between a.0 und a.3

' ----- part 2 -----
high gabel ' a.5
pause 500
low gabel

GOTO main