Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67623
b: refs/heads/master
c: 74ccbdc
h: refs/heads/master
i:
  67621: a6a9e15
  67619: 444d87d
  67615: 172231a
v: v3
  • Loading branch information
Martin Schwidefsky committed Oct 12, 2007
1 parent 9fc88cb commit 963e9b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 076fc808ab804c6cfb40fd0caa0b74dd50e0d5de
refs/heads/master: 74ccbdc226cac44bb56cd479917195dc5132d7aa
4 changes: 3 additions & 1 deletion trunk/arch/s390/kernel/dis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1162,14 +1162,16 @@ static int print_insn(char *buffer, unsigned char *code, unsigned long addr)
unsigned int value;
char separator;
char *ptr;
int i;

ptr = buffer;
insn = find_insn(code);
if (insn) {
ptr += sprintf(ptr, "%.5s\t", insn->name);
/* Extract the operands. */
separator = 0;
for (ops = formats[insn->format] + 1; *ops != 0; ops++) {
for (ops = formats[insn->format] + 1, i = 0;
*ops != 0 && i < 6; ops++, i++) {
operand = operands + *ops;
value = extract_operand(code, operand);
if ((operand->flags & OPERAND_INDEX) && value == 0)
Expand Down

0 comments on commit 963e9b4

Please sign in to comment.