From d1789acece69deabeddae520341aa828d5a96c7f Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 11 Aug 2003 19:28:05 +0000 Subject: 2003-08-11 Shrinivas Atre * sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and correction for MAC.W handler * sim/sh/interp.c ( macl ): New Function. Implementation of MAC.L handler. --- sim/sh/gencode.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sim/sh/gencode.c') diff --git a/sim/sh/gencode.c b/sim/sh/gencode.c index fb6f5b2..a4a1c2d 100644 --- a/sim/sh/gencode.c +++ b/sim/sh/gencode.c @@ -580,12 +580,11 @@ op tab[] = }, { "nm", "nm", "mac.l @+,@+", "0000nnnnmmmm1111", - "trap (255, R0, PC, memory, maskl, maskw, endianw);", - "/* FIXME: mac.l support */", + "macl(&R0,memory,n,m);", }, { "nm", "nm", "mac.w @+,@+", "0100nnnnmmmm1111", - "macw(R0,memory,n,m,endianw);", + "macw(&R0,memory,n,m,endianw);", }, { "n", "", "mov #,", "1110nnnni8*1....", -- cgit v1.1