summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tasm5.pp
blob: 4df22575ebfb3ccfb409f54b8fb2e88b8458d482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ %CPU=x86_64 }
{ %fail }

{$asmmode att}
// Immediates must fit into 32 bits (except in 'mov' instruction)
procedure test; assembler; nostackframe;
asm
      andq   $0x0000000105060708, %rax
      orq    $0xffffffff00000000, %rax
end;


begin
end.