Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / General Discussion

macro keyword

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

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

macro keyword

HI OverHertz

i have found this in ziron32.zir header file.

/* //TODO//

macro * saveregs {
	#local 1; //add 1 local

	#repeat #arg[]:
		#expect #arg[#local0] of eax: 'macro saveregs accepts only registers';
		push #arg[#local[0]];
	#end
}

*/

so i want to know what is that.

BTW, what is your real name , so when say Hi i will put your name , my name as you already

know is Emil.

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

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

Hi Emil, the first versions of Ziron i implemented a basic macro system which used the macro system, but making the system easier i changed it to inline (type) - sometime in the future i will re-implement the macro keyword .. for what i don't know yet :) and my name is Colin.