Skip to content

Opening book details…

Can I read XCH Instruction in AVR Assembler on EtoBox?

XCH Instruction in AVR Assembler by Regard'sDexterZacheus is a document available to read on EtoBox.

What is XCH Instruction in AVR Assembler about?

The XCH instruction exchanges one byte between a register and the data location pointed to by the Z pointer register. It leaves the Z pointer register unchanged. This instruction is useful for writing or reading status bits stored in SRAM. It operates in 2 cycles and exchanges the contents of the register and memory location pointed to by Z without affecting any status flags.

Author
Regard'sDexterZacheus
Language
EN