Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Why does "ldi r24, 0x74;" become "84 e7" (and "ldi r24, 0x70; " become "80 e7") Got it, sorry.

2011-12-27 by Tim Mitchell

The AVR opcodes are 16-bit, so the 0x70 does indeed get spread across 2 bytes.
The Atmel "AVR Instruction Set" pdf tells you how each opcode is encoded.

-- 
Tim Mitchell


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.