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 […]
SUM of RAM and IMMEDIATE value in Atmega32 using ATMEL STUDIO 7 Assembly

To start with SUM of RAM and IMMEDIATE value in Atmega32 using ATMEL STUDIO 7 Assembly .Load a single byte into a register from the data space. The Register File, I/O memory, and internal SRAM (and external SRAM if appropriate) make up the data space for components that have SRAM. The register file is the […]
LDS command in Atmega32 using ATMEL STUDIO 7 Assembly

To start with LDS command in Atmega32 using ATMEL STUDIO 7 Assembly .Loads a single byte into a register from the data space. The Register File, I/O memory, and internal SRAM (and external SRAM if appropriate) make up the data space for components that have SRAM. The register file is the only component in the […]