Results 1 to 10 of 19

Thread: Converting ASM to Pascal

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    I guess the assembler does some checking for stack alignment to prevent problems with other 64-bit libs, this is an issue with the assembler unless it has an override option, maybe try

    Code:
    [32BIT]
    push edi
    push .. etc
    as for the other code, does basicstring return a pchar/pointer? if so try

    Code:
    basicstring(resvalue)^ := ''
    better still:

    Code:
    var
      p: PAnsiChar;
    Code:
    p := basicstring(resvalue);
    args.outVal.n.sbuf := p;
    p^ := ''
    Last edited by Colin; 18-03-2013 at 08:02 PM.
    Download the Ziron Assembler
    Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •