flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
flaith 09 Aug 2005, 11:13
i think i'm gonna like it
![]() _________________ Je suis sur de 'rien', mais je ne suis pas sur du 'tout'. |
|||
![]() |
|
foxz 01 Sep 2005, 12:19
I'm be back.
So... i'm rewrite precomp in jscript (...) for moment : var n,m:db; main { m=n; } give main: mov eax, n mov m, eax ret but m=1+n give mov eax, 1 add eax, n mov m, eax I prefer mov eax, n; inc eax; mov m,eax funny : m=n+1; give mov eax, n inc eax mov m, eax well done crazy : m=5+((n+1)*2) give mov eax, 5 push eax mov eax, n inc eax shl eax, 1 // unsigned pop ebx add eax, ebx it's not well... I need help to rewrite evaluator... syl FoxZ _________________ Syl |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.