working/DB1B-DB47/main.cpp
// Rotates a given byte one bit to the left, taking the carry_bit as the LSB and
// storing the old MSB back to the carry_bit
Rotates a given byte one bit to the left, taking the carry_bit as the LSB and
storing the old MSB back to the carry_bit
Rotates a given byte one bit to the left taking the carry_bit as the LSB and storing the old MSB back to the carry_bit
void asm_ROL(uint8_t* i)
{
    uint8_t new_carry_bit = (*i & 0x80) >> 7;
    *i = (*i << 1) + carry_bit;
    carry_bit = new_carry_bit;
}
void asm_ROL ( uint8_t * i ) { uint8_t new_carry_bit = ( * i & 0x80 ) >> 7 ; * i = ( * i << 1 ) + carry_bit ; carry_bit = new_carry_bit ; }
Rotates a given byte one bit to the left, taking the carry_bit as the LSB and
storing the old MSB back to the carry_bit
Rotates a given byte one bit to the left taking the carry_bit as the LSB and storing the old MSB back to the carry_bit