* txvu-dis.c (print_insn): Extract/print fns take pointer to

insn now and not insn itself.
	* txvu-opc.c: insert/extract/print fns take pointer to
	insn now and not insn itself.  Add initial dma,pke,gpuif support.
	Parse fn no longer needs to set errmsg = NULL for success.
This commit is contained in:
Doug Evans
1998-01-27 00:27:54 +00:00
parent 6e84cd36f3
commit f31e207296
3 changed files with 335 additions and 236 deletions

View File

@ -1,4 +1,12 @@
start-sanitize-sky
Mon Jan 26 16:25:51 1998 Doug Evans <devans@seba.cygnus.com>
* txvu-dis.c (print_insn): Extract/print fns take pointer to
insn now and not insn itself.
* txvu-opc.c: insert/extract/print fns take pointer to
insn now and not insn itself. Add initial dma,pke,gpuif support.
Parse fn no longer needs to set errmsg = NULL for success.
Fri Jan 23 01:49:24 1998 Doug Evans <devans@seba.cygnus.com>
* txvu-opc.c (txvu_operands, UBC): Add extract entry.

View File

@ -125,7 +125,7 @@ print_insn (pc, info, insn, lower_p)
}
operand = txvu_operands + index;
if (operand->extract)
(*operand->extract) (insn, operand, mods, &invalid);
(*operand->extract) (&insn, operand, mods, &invalid);
}
if (invalid)
continue;
@ -158,7 +158,7 @@ print_insn (pc, info, insn, lower_p)
/* Extract the value from the instruction. */
if (operand->extract)
{
value = (*operand->extract) (insn, operand, mods, (int *) NULL);
value = (*operand->extract) (&insn, operand, mods, (int *) NULL);
}
else
{
@ -176,7 +176,7 @@ print_insn (pc, info, insn, lower_p)
/* Print the operand as directed by the flags. */
if (operand->print)
(*operand->print) (info, insn, value);
(*operand->print) (info, &insn, value);
else if (operand->flags & TXVU_OPERAND_FAKE)
; /* nothing to do (??? at least not yet) */
else if (operand->flags & TXVU_OPERAND_RELATIVE_BRANCH)

File diff suppressed because it is too large Load Diff