From fa633c487cd038422b9677961838daf30fb05d16 Mon Sep 17 00:00:00 2001 From: Astrid Smith Date: Fri, 12 Nov 2010 22:36:12 -0800 Subject: Non-code changes (comments and macro arguments) I added a fourth and fifth argument to OPCODE(). Now it accepts both of the arguments for the TIME macro (to allow for more precise speed emulation in the distant future) as well as a fifth argument, the size of the opcode routine (excluding START and DONE). I think this will allow me to automatically generate minimal offsets when I finally use Tezxas's dispatch routine. --- opcodes.inc.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opcodes.inc.m4') diff --git a/opcodes.inc.m4 b/opcodes.inc.m4 index cbaafb9..95195b4 100644 --- a/opcodes.inc.m4 +++ b/opcodes.inc.m4 @@ -8,5 +8,6 @@ dnl # end_10, and is undefined everywhere else. define(`local',$`'1_``$1'')dnl `emu_op_'$1`:' $2 - TIME $3 + TIME $3,$4 +undefine(`label')dnl DONE')dnl -- cgit v1.2.3