diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:45:07 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:45:07 -0700 |
commit | 43e65147c07b1400ae0dbb6694882eceb2363713 (patch) | |
tree | e52d56a58d00c74db6c82e736464ab0f500a7181 /opcodes/cr16-dis.c | |
parent | f3445b37b67deb8f67f7885274b2544684503f78 (diff) | |
download | binutils-43e65147c07b1400ae0dbb6694882eceb2363713.zip binutils-43e65147c07b1400ae0dbb6694882eceb2363713.tar.gz binutils-43e65147c07b1400ae0dbb6694882eceb2363713.tar.bz2 |
Remove trailing spaces in opcodes
Diffstat (limited to 'opcodes/cr16-dis.c')
-rw-r--r-- | opcodes/cr16-dis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/cr16-dis.c b/opcodes/cr16-dis.c index 749f80e..00c672e 100644 --- a/opcodes/cr16-dis.c +++ b/opcodes/cr16-dis.c @@ -358,7 +358,7 @@ make_argument (argument * a, int start_bits) switch (a->type) { case arg_r: - p = makelongparameter (cr16_allWords, + p = makelongparameter (cr16_allWords, inst_bit_size - (start_bits + a->size), inst_bit_size - start_bits); a->r = p.val; @@ -386,7 +386,7 @@ make_argument (argument * a, int start_bits) break; case arg_ic: - p = makelongparameter (cr16_allWords, + p = makelongparameter (cr16_allWords, inst_bit_size - (start_bits + a->size), inst_bit_size - start_bits); a->constant = p.val; @@ -466,7 +466,7 @@ make_argument (argument * a, int start_bits) } else if (instruction->size == 2) { - p = makelongparameter (cr16_allWords, inst_bit_size - 16, + p = makelongparameter (cr16_allWords, inst_bit_size - 16, inst_bit_size); a->constant = p.val; } @@ -795,7 +795,7 @@ get_words_at_PC (bfd_vma memaddr, struct disassemble_info *info) for (i = 0, mem = memaddr; i < 3; i++, mem += 2) cr16_words[i] = get_word_at_PC (mem, info); - cr16_allWords = ((ULONGLONG) cr16_words[0] << 32) + cr16_allWords = ((ULONGLONG) cr16_words[0] << 32) + ((unsigned long) cr16_words[1] << 16) + cr16_words[2]; } |