Results 1 to 10 of 11

Thread: Expression to ASM

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Expression to ASM

    hi there, this is not related to game development, .. i am writing a compiler, so far the compiler supports many features, but is missing 1 vital thing, the ability to accept expressions, i have tried to come up with a way to do this but i always run into problems, the language allows for writing in assembly and higher level in the same code scope so what i need is a way to output assembly code (my assembler will assemble the code afterwards)

    eax = myvar2 + (edx + ecx + (5 * edx)) - 5 xor myvar1;

    this sort of thing, i need a way to output equiv assembly opcodes/operations. can anyone help me with this problem? Thanks in advance
    Last edited by Colin; 16-05-2011 at 01:00 PM.

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
  •