Lazarus
Programming => General => Topic started by: jamie on October 17, 2020, 05:04:33 pm
Title:
".NOFRAME" in an assembler block fpc does not like it ?
Post by:
jamie
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]
[+]
[-]
procedure
X64AsmBreak
;
asm
.
NOFRAME
// fpc does not know this ?
INT
3
end
;
Title:
Re: ".NOFRAME" in an assembler block fpc does not like it ?
Post by:
marcov
on
October 17, 2020, 05:49:22 pm
Yeah, mentioned among others in this bugreport : https://bugs.freepascal.org/view.php?id=31012
Title:
Re: ".NOFRAME" in an assembler block fpc does not like it ?
Post by:
jamie
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]
[+]
[-]
procedure
X64AsmBreak
;
nostackframe
assembler
;
asm
int
3
;
end
;
TinyPortal
© 2005-2018