E2113 Numeric overflow (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

Go Up to Error and Warning Messages (Object Pascal) Index

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.