The Real MicroMan said:divide by 4 or shift right twice...same thing
kinjalgp said:Yes, you have to shift right the entire 10 bits. But this way you'll loose lower 2 bits.
Before Shifting: 00000010 11010110 After Shifting: 00000000 10110101
BCF STATUS, C ;Clear carry, it will be shifted into MSB of adressh RRF ADRESH, F ;rotate adresH Right trough carry, carry holds previous LSB of adressH RRF ADRESL, F ;rotate adresL right trough carry, LSB will be in carry