Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Help decoding a vax instruction



On Wed, Aug 21, 2019 at 10:11:50AM +0000, coypu%sdf.org@localhost wrote:
> hi folks,
> 
> I'm a vax newbie. What does this one do?
> 
>    c:	98 40 a0 02 	cvtbl 0x2(r0)[r0],15 <e+0x15>
> 
> 
> Thanks!

Managed to find
https://www.cs.auckland.ac.nz/references/macvax/indexed-address-mode.html
which seems to say
convert byte to long
src = 0x2 + r0 + [r0 * operand size]
dest = 0x15

The 0x15 amount makes more sense if I consider it's gcc -c output, so
it's going to be a real address after linking probably (?).


Home | Main Index | Thread Index | Old Index