Reputation: 1367
I'm working on a project which consist on migrating an assembly project into C code. I have quite a lot already done but i came across an instruction which i can't fully understand. It's this one:
ldi ZH, high(V_avgbuf)
where V_avgbuf is a buffer holding 8 x 24-bit V samples. It was defined like this:
V_avgbuf: .byte 24 ; 8 x 24-bit V samples
My question is, after the exevution of the instruction, which is the content of the ZH register? (ZH is a 8 bit register).
Thanks in advance,
Alex
Upvotes: 0
Views: 619