From c11739b71197d19cfa89b5ec78350647225f3d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 18 Apr 2000 22:18:15 +0200 Subject: [PATCH] Renamed OPCODE2() to OPCODE1ACK(). Added a new OPCODE2() that does what you expect. Rev: src/interpreter.h:1.39 --- src/interpreter.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/interpreter.h b/src/interpreter.h index 2bae98baaa..e46612dec4 100644 --- a/src/interpreter.h +++ b/src/interpreter.h @@ -136,12 +136,17 @@ static int eval_instruction(unsigned char *pc) #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); -- GitLab