[eresi-dev] Change request in libasm

Julien Vanegue jv274 at cl.cam.ac.uk
Wed Aug 22 15:48:25 UTC 2007


HI there,

I think we should have : instr->op[nbr] instead of instr->op1/2/3. It makes
programming eresi scripts easier to deal with all operands of an 
instruction,
whatever the number of operand it has (using a foreach ... of 0 until 
$instr.opnbr)

It is feasible to have an array of operands instead of op1/op2/op3 ?

Also that will help us to support in the future architecture with more 
than 3
possible operands per instructions.

Is there any reason why its not using an array ?

-may



More information about the eresi-dev mailing list