The formatter does not indent the following correctly:
procedure TInt16.AssignMotorola(_Value: MInteger);
begin
if _Value[1] and $F0 > 0 then
asm
nop
end;
FValue := Smallint(Swap16(Word(_Value)));
end;
The nop should be indented one step further than the asm.
This is working as designed. The Code formatter does not change the asm code in any way. It just indents the asm and end keywords to the correct level. The asm code itself is not meant to be formatted, that would make the formatter code too complex for no real gain.