Test suite results for test file tbs/tb0236.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "tbs/tb0236.pp" information:

t_id 467
t_cpu i386
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=9 Percentage= 18.00

Skipped=41 Percentage= 82.00

Result type Cat. Count Percentage First date Last Date
Successfully run 9 18.0 2024/05/08 12:17:00 25 2024/05/08 15:10:00 25
i386 9 100.0 2024/05/08 12:17:00 25 2024/05/08 15:10:00 25
linux 2 22.2 2024/05/08 12:32:00 236 2024/05/08 12:44:00 172
win32 7 77.8 2024/05/08 12:17:00 25 2024/05/08 15:10:00 25
3.3.1 7 77.8 2024/05/08 12:32:00 236 2024/05/08 15:10:00 25
3.2.3 2 22.2 2024/05/08 12:17:00 25 2024/05/08 12:44:00 172
Skipping test because for other cpu 41 82.0 2024/05/08 11:24:00 238 2024/05/08 14:13:00 40
m68k 2 4.9 2024/05/08 12:40:00 244 2024/05/08 12:52:00 58
sparc 5 12.2 2024/05/08 11:58:00 56 2024/05/08 13:43:00 62
powerpc 3 7.3 2024/05/08 11:24:00 238 2024/05/08 13:17:00 181
arm 2 4.9 2024/05/08 12:28:00 33 2024/05/08 12:36:00 210
x86_64 6 14.6 2024/05/08 12:06:00 41 2024/05/08 14:13:00 40
powerpc64 6 14.6 2024/05/08 11:36:00 242 2024/05/08 13:33:00 60
mips 2 4.9 2024/05/08 12:44:00 239 2024/05/08 13:01:00 154
mipsel 2 4.9 2024/05/08 12:48:00 183 2024/05/08 13:10:00 228
aarch64 4 9.8 2024/05/08 11:57:00 41 2024/05/08 12:29:00 32
sparc64 6 14.6 2024/05/08 11:58:00 155 2024/05/08 14:06:00 137
riscv64 2 4.9 2024/05/08 11:57:00 31 2024/05/08 12:10:00 36
loongarch64 1 2.4 2024/05/08 12:37:00 36 2024/05/08 12:37:00 36
linux 41 100.0 2024/05/08 11:24:00 238 2024/05/08 14:13:00 40
3.3.1 26 63.4 2024/05/08 11:24:00 238 2024/05/08 13:35:00 32
3.2.3 15 36.6 2024/05/08 11:57:00 41 2024/05/08 14:13:00 40

Source:

{ %CPU=i386 }
{ Old file: tbs0276.pp }
{ Asm, intel reference parsing incompatibility         OK 0.99.13 (PFV) }

{$asmmode intel}
type
  trec = record
    ypos,
    xpos : longint;
  end;

  z80cont = record
     dummy : longint;
     page: array [0..11,0..16383] of byte;
  end;

var
  rec : tRec;
  myz80 : z80cont;
  error : boolean;
  test  : byte;
begin
  error:=false;
  test:=23;
  rec.xpos:=1;
  myz80.page[0,5]:=15;
  asm
     lea   edi, Rec
     cmp   byte ptr [edi+tRec.Xpos], 1
     jne   @error
     cmp   byte ptr [edi].trec.Xpos, 1
     jne   @error
     mov   ecx, 5
     mov   dh,byte ptr myz80.page[ecx]
     cmp   dh,15
     jne   @error
     mov   byte ptr myz80.page[ecx],51
     jmp   @noerror
     @error:
     mov   byte ptr error,1
     @noerror:
  end;
  if error or (test<>23) or (myz80.page[0,5]<>51) then
    begin
      Writeln('Error in assembler code generation');
      Halt(1);
    end
  else
    Writeln('Correct assembler generated');
end.

Link to SVN view of tbs/tb0236.pp source.