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

needed expression

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

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

needed expression

Hi Colin.

why ziron not allowed that

al -= char[EDI];

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

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

because i have not finished with the maths opcodes.

al -= char[edi] does not work because sub al, char[edi] does not work ;) i will start fixing and updating these asap :)

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

even if there is no 'sub al, char[edi]' , Ziron can allow it , i mean Ziron is not only assembler , but it also compiler.

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

ziron does not compile this expression but assembles it, but i still need to write an assembler function to assemble the code, but i would add sub al, char[edi] before i add the other, hence what i wrote ;)