Port-vax archive

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

Re: Help decoding a vax instruction



Den 2019-08-21 kl. 12:11, skrev coypu%sdf.org@localhost:
hi folks,

I'm a vax newbie. What does this one do?

    c:	98 40 a0 02 	cvtbl 0x2(r0)[r0],15 <e+0x15>

Heh!

cvtbl = sign-extend byte into long

2(r0)[r0] = 2+r0+sizeof(byte)*r0.  Indexing, similar exists on x86. Uses source size (b) for indexing size.

15 = address 15 in memory.

-- R


Home | Main Index | Thread Index | Old Index