HIGH & LOW work with a "pin". Not a whole port. Try PORTB = %01010101 or
some other 8-bit value to write to all 8-bits of a port at once.

If using HIGH or LOW, then use a port 'bit' like HIGH PORTB.0, PORTB.1, etc.