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

high level shefting

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

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

high level shefting

hi

the next expression

shr ax, 4

can be like this

ax >> 4;

and also

shl ax, 4

can be

ax << 4;

so what do you think?

Emil

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

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

This will be added for the next release :)

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

thank you very much. :yess:

can we completely add the whole c&c++ operations such as += , -= , *= .....etc to Ziron .eg

eax *= 5;

var += 10;

Emil.

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

absolutely, these are on my to-do list :)

Edit: I have added reg += number; and -=, *= i will add a little later as i need to do a bit more work on some of the opcodes such as mul