Mailinglist Archive: radeonhd (427 mails)
| < Previous | Next > |
Re: [radeonhd] Understanding ATI assembler and AtomDis
- From: Alex Deucher <alexdeucher@xxxxxxxxx>
- Date: Wed, 20 May 2009 15:40:06 -0400
- Message-id: <a728f9f90905201240t601dbd64v8069f54385a220a7@xxxxxxxxxxxxxx>
2009/5/20 Rafał Miłecki <zajec5@xxxxxxxxx>:
?
But it is 2 bytes. The entire register is only 1 dword (32 bits or 4
bytes): 0x01234567. You can break that down as 4 bytes:
0x01 0x23 0x45 0x67
so the lower two bytes are:
0x4567
Alex
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
W dniu 20 maja 2009 19:34 użytkownik Alex Deucher
<alexdeucher@xxxxxxxxx> napisał:
2009/5/20 Rafał Miłecki <zajec5@xxxxxxxxx>:
Could you explain that one more please, so I could try to understand that?
0x180 is the offset of the regsiter in dwords. 0x180 * 4 = 0x600 =
offset in bytes since 1 dword = 4 bytes. The register offset defines
the register's location relative to the start of register aperture. so
the register in question is 0x180 dwords from the start of the
aperture or 0x600 bytes.
OK, understand that already, thanks.
Each register is 32 bits, so the lower two bytes are 0x4567.
That was tricky part for me. I would call 0x4567 in any following way:
a) last 2 dwords
b) last 4 hexs
c) last 8 bytes
d) last 64 bits
?
but not "two bytes". Anyway, I get this now, thanks for explaining :)
But it is 2 bytes. The entire register is only 1 dword (32 bits or 4
bytes): 0x01234567. You can break that down as 4 bytes:
0x01 0x23 0x45 0x67
so the lower two bytes are:
0x4567
Alex
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |