Mam mały problem a mianowicie jak chcĘ uzyc instrukcji shl we wstawce assemblerowej w pascalu to wyskakuje mi blad
Error 159: 286/287 instructions are not enabled
Nie wiem czemu się tak dzieje. Kod programu następujący"
procedure piksel(x,y:word;kolor:byte);
begin
asm
mov ax,y
mov di, ax
shl ax, 8 { <=== tu wyskakuje bład }
shl di, 6
add di, ax
add di, x
mov ax, 0a000h
mov es, ax
mov al,kolor
mov byte ptr es:[di], al
end;
end;