tbf0155.pp 322 B

1234567891011121314151617
  1. { this is not a real bug but rather a feature :
  2. assembler function are only accepted for
  3. simple return values
  4. i.e. either in register or FPU (PM) }
  5. { so for the moment this is rejected code ! }
  6. function asmstr:string;assembler;
  7. asm
  8. movl __RESULT,%edi
  9. movl $0x4101,%al
  10. stosw
  11. end;
  12. begin
  13. writeln(asmstr);
  14. end;