On Monday 24 September 2001 03:27, Dan Sugalski wrote: > At 01:47 AM 9/24/2001 +0100, Simon Cozens wrote: > >http://astray.com/mandlebrot.pasm > > > >Leon, you're a sick, sick man. > > Okay, I think that means we need to weld in bitmap handling opcodes into > the interpreter. :) > > Also looks like there are some bugs in the num register handling that need > fixing. :( Just forgotten or is there more to it? Buggs Index: basic_opcodes.ops =================================================================== RCS file: /home/perlcvs/parrot/basic_opcodes.ops,v retrieving revision 1.22 diff -u -3 -p -r1.22 basic_opcodes.ops --- basic_opcodes.ops 2001/09/21 09:25:39 1.22 +++ basic_opcodes.ops 2001/09/24 10:22:56 @@ -693,3 +693,7 @@ AUTO_OP shr_i_ic { AUTO_OP xor_i { INT_REG(P1) = INT_REG(P2) ^ INT_REG(P3); } +/* SET Nx, Nx */ +AUTO_OP set_n { + NUM_REG(P1) = NUM_REG(P2); +} Index: opcode_table =================================================================== RCS file: /home/perlcvs/parrot/opcode_table,v retrieving revision 1.21 diff -u -3 -p -r1.21 opcode_table --- opcode_table 2001/09/19 22:57:15 1.21 +++ opcode_table 2001/09/24 10:22:56 @@ -44,6 +44,7 @@ dec_i_ic 2 I i # NUM ops set_n_nc 2 N n +set_n 2 N N add_n 3 N N N sub_n 3 N N N mul_n 3 N N N