mousey
mousey

Reputation: 11901

Basic assembly question

mov     r8, FlushCounts[r14]

Can some one explain me what the FlushCounts[r14] is used for ? Does this mean r14 = &FlushCounts and r8 = FlushCounts ? Why is it done like this ?

Upvotes: 1

Views: 104

Answers (2)

Michael
Michael

Reputation: 54705

This means copy 64 bits from address FlushCount + r14 to r8. Offset in r14 register is in bytes.

Upvotes: 4

yan
yan

Reputation: 20982

This instruction is basically r8 = *(FlushCounts+r14).

Upvotes: 1

Related Questions