E2113 Numeric overflow (Delphi)

From RAD Studio
Jump to: navigation, search

Go Up to Error and Warning Messages (Delphi)

The inline assembler has detected a numeric overflow in one of your expressions.


program Produce;

  procedure AssemblerExample;
  asm
    mov eax, $0ffffffffffffffffffffff
  end;

begin
end.

Specifying a number which requires more than 32 bits to represent will elicit this error.


program Solve;

  procedure AssemblerExample;
  asm
    mov al, $0ff
  end;

begin
end.

Make sure that your numbers all fit in 32 bits.