Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Requests and Feedback

high level expression

A community discussion post from the original code:zIRON forum.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

high level expression

hi ,

i want Ziron to support that , forget the optimization here

function strLen(char* str)
{
  uses Ebx Ecx;
  Ebx = str;
  Ecx = Ebx;
  while(char[Ecx] != 0)
   {
     Ecx++;
   }
  int32 len = Ecx - Ebx;  // hope this expression will be supported to make life more easy
  return len;
}

http://www.freewebs.com/ogremagic/index.htm

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

i have been planning high level expressions for a long time, however they are very complex, since i want also to support ( and )...

e.g. eax = (ecx+edx)*edi;

but it may be some time before i get round to doing this since i want to first make sure everything else is working correctly before i put effort into this side of things.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

it's a hard work , but i think Ziron will be solid in short time.

thank you for your effort.

http://www.freewebs.com/ogremagic/index.htm

Colin admin
Posts
928
Threads
49
Location
Bulgaria

Thanks and thanks for your support and ideas :)