[BUG] JEDI doesn't work with asm if... lazarus / 9-Editor ---------------------------------------------------------------------- totya · 2019-06-16 07:11 Hi! if I list the used register at the end of the asm block, de JEDI formatter doesn't work. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {$asmmode intel}procedure TForm1.Button1Click(Sender: TObject);begin  asm   end; ['rsi'];end;  If I comment this line, JEDI works: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {$asmmode intel}procedure TForm1.Button1Click(Sender: TObject);begin  asm   end; //['rsi'];end; ---------------------------------------------------------------------- rvk · 2019-06-16 07:26 Is this also the case if you remove the semicolon between the end and the registry list? (I can't test it right now) See the wiki (without the extra semicolon). Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i asm    Movl $1,%ebx    Movl $0,%eax    addl %eax,%ebx  end [’EAX’,’EBX’];https://www.freepascal.org/docs-html/ref/refse87.html If it is still a problem you could search (and if needed add it to the) the bugtracker. ---------------------------------------------------------------------- totya · 2019-06-16 07:31 Hi Master! JEDI doesn't work that way too: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {$asmmode intel}procedure TForm1.Button1Click(Sender: TObject);begin  asm   end ['rsi'];end;  Bug tracker... oh yes... done! ---------------------------------------------------------------------- Thaddy · 2019-06-16 08:49 Jedi is still rather Delphi windows flavor. This needs a fix for fpc only, but I don't know if it is maintained. Intel mode + delphi works correct: there you don't have to close with used registers. ---------------------------------------------------------------------- totya · 2019-06-17 14:59 Quote from: Thaddy on June 16, 2019, 10:49:37 ambut I don't know if it is maintained Thanks for the answer! As I see on the bug tracker, JEDI errors usually corrected...