Branch: Tag:

2000-04-18

2000-04-18 20:18:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Renamed OPCODE2() to OPCODE1ACK().
Added a new OPCODE2() that does what you expect.

Rev: src/interpreter.h:1.39

136:   #define OPCODE1(OP,DESC) CASE(OP); { \    INT32 arg1=GET_ARG();    + #define OPCODE1ACK(OP,DESC) CASE(OP); { \ +  INT32 arg1=GET_ARG(); \ +  INT32 ack=accumulator; +    #define OPCODE2(OP,DESC) CASE(OP); { \    INT32 arg1=GET_ARG(); \ -  INT32 arg2=accumulator; +  INT32 arg2=GET_ARG2();      #define OPCODE0_TAIL(OP,DESC) CASE(OP);   #define OPCODE1_TAIL(OP,DESC) CASE(OP); -  + #define OPCODE1ACK_TAIL(OP,DESC) CASE(OP);   #define OPCODE2_TAIL(OP,DESC) CASE(OP);