Guys, as I'm a student of AVR ATmega328 and I'm programming in ASM.

I have the following question

I have a value of 16bits (R10: R11) (High: Low) and would like to compare with another value of 16bits (R12: R13) (High: Low).

If R10: R11 Equals R12: R13 Does Nothing

If R10: R11 is larger than R12: R13 increments R14: R15

If R10: R11 is smaller than R12: R13 decrees R14: R15

I can't handle this routine, work with 16bits, 2 registers

Can someone help me