Recent

Author Topic: ".NOFRAME" in an assembler block fpc does not like it ?  (Read 192 times)

jamie

  • Hero Member
  • *****
  • Posts: 3774
".NOFRAME" in an assembler block fpc does not like it ?
« on: October 17, 2020, 05:04:33 pm »
trying to port some d code over and after a long run of other things, I run into this small partial.

Code: Pascal  [Select][+][-]
  1. procedure X64AsmBreak;
  2. asm
  3.  .NOFRAME  // fpc does not know this ?
  4.  INT 3
  5. end;
  6.  
  7.  
The only true wisdom is knowing you know nothing

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8887
  • FPC developer.
Re: ".NOFRAME" in an assembler block fpc does not like it ?
« Reply #1 on: October 17, 2020, 05:49:22 pm »
Yeah, mentioned among others in this bugreport : https://bugs.freepascal.org/view.php?id=31012

jamie

  • Hero Member
  • *****
  • Posts: 3774
Re: ".NOFRAME" in an assembler block fpc does not like it ?
« Reply #2 on: October 17, 2020, 06:39:50 pm »
I worked around it using the "nostackframe" which I guess what it means, also added assemble …
Code: Pascal  [Select][+][-]
  1. procedure X64AsmBreak; nostackframe assembler;
  2. asm
  3. int 3;
  4. end;
  5.  
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018