How does one go about using declared 32-bit pointers with inline ASM? For example:
DEFINT A - Z
DIM A AS WORD
DIM B AS WORD
DIM aPtr AS WORD PTR
DIM bPtr AS BYTE PTR
A = 15
B = 20
aPtr = VARPTR32(A)
bPtr = VARPTR32(B)
! mov AX,@aPtr
produces a pointer error (521 I think)
PS: Where can one get PBDK? I've looked in the products cataloge but have not seen it.
[This message has been edited by Walt Decker (edited February 28, 2000).]
DEFINT A - Z
DIM A AS WORD
DIM B AS WORD
DIM aPtr AS WORD PTR
DIM bPtr AS BYTE PTR
A = 15
B = 20
aPtr = VARPTR32(A)
bPtr = VARPTR32(B)
! mov AX,@aPtr
produces a pointer error (521 I think)
PS: Where can one get PBDK? I've looked in the products cataloge but have not seen it.
[This message has been edited by Walt Decker (edited February 28, 2000).]
Comment