mov [my_vesa_selector],[es:di]
I've tried this with different combinations of [ ]'s but nothing seems to work! my code actually looks a bit more like this:
;in real mode
mov ax, 0x4f0a
mov bx, 0
int 10h
;Switch to protected mode
;create the vesa_descriptor with john fine's desc macro
mov [vesa_descriptor],[es:di] ;I get the error Here
[glow=red,2,300]Thanks for helping

Btw, this is in my boodloader. It sets up my GTD too so I know nothing is wrong with the vesa_descriptor