src/cpu.c
void rra(word addr, int cycles, int pcIncrease) {
	log_instruction(pcIncrease - 1, "\tRRA $%02X\t", addr);

	byte value = rmem_b(addr);
	ror_internal(&value);
	wmem_b(addr, value);

	adc_internal(value);

	PC += pcIncrease;
	cpu_cyclesThisSec += cycles;
}
/**
 * RRA RORs the contents of a memory location and then ADCs the result with the accumulator.
 */
RRA RORs the contents of a memory location and then ADCs the result with the accumulator.
RRA RORs the contents of a memory location and then ADCs the result with the accumulator .
void rra(word addr, int cycles, int pcIncrease) {
	log_instruction(pcIncrease - 1, "\tRRA $%02X\t", addr);
	byte value = rmem_b(addr);
	ror_internal(&value);
	wmem_b(addr, value);
	adc_internal(value);
	PC += pcIncrease;
	cpu_cyclesThisSec += cycles;
}
void rra ( word addr , int cycles , int pcIncrease ) { log_instruction ( pcIncrease - 1 , " \t \t " , addr ) ; byte value = rmem_b ( addr ) ; ror_internal ( & value ) ; wmem_b ( addr , value ) ; adc_internal ( value ) ; PC += pcIncrease ; cpu_cyclesThisSec += cycles ; }
RRA RORs the contents of a memory location and then ADCs the result with the accumulator.
RRA RORs the contents of a memory location and then ADCs the result with the accumulator .