mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 01:49:08 +02:00
* new illegal ref
This commit is contained in:
parent
f434ea3131
commit
8e6c15972e
@ -3,13 +3,21 @@ type
|
|||||||
trec = record
|
trec = record
|
||||||
ypos,
|
ypos,
|
||||||
xpos : longint;
|
xpos : longint;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
z80cont = record
|
||||||
|
page: array [0..11,0..16383] of byte;
|
||||||
|
end;
|
||||||
|
|
||||||
var
|
var
|
||||||
rec : tRec;
|
rec : tRec;
|
||||||
|
myz80 : z80cont;
|
||||||
begin
|
begin
|
||||||
asm
|
asm
|
||||||
lea edi, Rec
|
lea edi, Rec
|
||||||
cmp byte ptr [edi+tRec.Xpos], true
|
cmp byte ptr [edi+tRec.Xpos], true
|
||||||
cmp byte ptr [edi].trec.Xpos, true
|
cmp byte ptr [edi].trec.Xpos, true
|
||||||
|
|
||||||
|
mov dh,byte ptr myz80.page[ecx]
|
||||||
end;
|
end;
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user