Ninja Tech

CP command in Atmega32 using ATMEL STUDIO 7 Assembly

To start with CP command in Atmega32 using ATMEL STUDIO 7 Assembly Two registers, Rd and Rr, are compared by the CP instruction. Not a single register has been altered. Following this directive, all conditional branches can be utilized. Operation: Syntax:                             Operands:                                           Program Counter: (i)           CP Rd,Rr                          0 ≤ d ≤ 31, 0 ≤ r […]