fpc/tests/webtbs/tw33202.pp
florian 1d6e0743aa * fix test
git-svn-id: trunk@38317 -
2018-02-22 20:16:34 +00:00

11 lines
211 B
ObjectPascal

{ %CPU=avr }
{ %OPT=-Sm -Wpavrsim }
program macrotest;
const
sramMax = FPC_SRAMBASE + FPC_SRAMSIZE - 1;
begin
asm
sts sramMax , r31 // macrotest.pp(13,16) Error: Constant value out of bounds
end;
end.