• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:dst

206   int dst = 0;  in msp430_singleoperand()  local
258 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm)) in msp430_singleoperand()
262 sprintf (op, "0x%04x", dst); in msp430_singleoperand()
264 PS ((short) (addr + 2) + dst)); in msp430_singleoperand()
267 dst |= extended_dst << 16; in msp430_singleoperand()
268 sprintf (op, "0x%05x", dst); in msp430_singleoperand()
270 (long)((addr + 2 + dst) & 0xfffff)); in msp430_singleoperand()
277 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm)) in msp430_singleoperand()
281 sprintf (op, "&0x%04x", PS (dst)); in msp430_singleoperand()
284 dst |= extended_dst << 16; in msp430_singleoperand()
285 sprintf (op, "&0x%05x", dst & 0xfffff); in msp430_singleoperand()
291 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm)) in msp430_singleoperand()
297 dst |= extended_dst << 16; in msp430_singleoperand()
298 if (dst & 0x80000) in msp430_singleoperand()
299 dst |= -1U << 20; in msp430_singleoperand()
301 sprintf (op, "%d(r%d)", dst, regd); in msp430_singleoperand()
333 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm)) in msp430_singleoperand()
336 sprintf (op, "#%d", dst); in msp430_singleoperand()
337 if (dst > 9 || dst < 0) in msp430_singleoperand()
338 sprintf (comm, "#0x%04x", PS (dst)); in msp430_singleoperand()
341 dst |= extended_dst << 16; in msp430_singleoperand()
342 if (dst & 0x80000) in msp430_singleoperand()
343 dst |= -1U << 20; in msp430_singleoperand()
344 sprintf (op, "#%d", dst); in msp430_singleoperand()
345 if (dst > 9 || dst < 0) in msp430_singleoperand()
346 sprintf (comm, "#0x%05x", dst); in msp430_singleoperand()
359 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm)) in msp430_singleoperand()
362 sprintf (op, "0x%04x", PS (dst)); in msp430_singleoperand()
364 PS ((short) addr + 2 + dst)); in msp430_singleoperand()
367 dst |= extended_dst << 16; in msp430_singleoperand()
368 sprintf (op, "0x%05x", dst & 0xffff); in msp430_singleoperand()
370 (long)((addr + 2 + dst) & 0xfffff)); in msp430_singleoperand()
377 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm)) in msp430_singleoperand()
380 sprintf (op, "&0x%04x", PS (dst)); in msp430_singleoperand()
383 dst |= extended_dst << 16; in msp430_singleoperand()
384 sprintf (op, "&0x%05x", dst & 0xfffff); in msp430_singleoperand()
397 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm)) in msp430_singleoperand()
402 dst |= extended_dst << 16; in msp430_singleoperand()
403 if (dst & 0x80000) in msp430_singleoperand()
404 dst |= -1U << 20; in msp430_singleoperand()
406 sprintf (op, "%d(r%d)", dst, regd); in msp430_singleoperand()
407 if (dst > 9 || dst < 0) in msp430_singleoperand()
408 sprintf (comm, "%05x", dst); in msp430_singleoperand()
450 int dst = 0; in msp430_doubleoperand() local
497 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_doubleoperand()
501 sprintf (op1, "0x%04x", PS (dst)); in msp430_doubleoperand()
503 PS ((short) addr + 2 + dst)); in msp430_doubleoperand()
506 dst |= extended_dst << 16; in msp430_doubleoperand()
507 if (dst & 0x80000) in msp430_doubleoperand()
508 dst |= -1U << 20; in msp430_doubleoperand()
509 sprintf (op1, "0x%05x", dst & 0xfffff); in msp430_doubleoperand()
511 (long)((addr + 2 + dst) & 0xfffff)); in msp430_doubleoperand()
518 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_doubleoperand()
526 if (src != dst) in msp430_doubleoperand()
531 sprintf (op1, "&0x%04x", PS (dst)); in msp430_doubleoperand()
534 dst |= extended_dst << 16; in msp430_doubleoperand()
535 sprintf (op1, "&0x%05x", dst & 0xfffff); in msp430_doubleoperand()
542 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_doubleoperand()
546 dst |= extended_dst << 16; in msp430_doubleoperand()
547 if (dst & 0x80000) in msp430_doubleoperand()
548 dst |= -1U << 20; in msp430_doubleoperand()
552 sprintf (op1, "%d(r%d)", dst, regd); in msp430_doubleoperand()
553 if (dst > 9 || dst < -9) in msp430_doubleoperand()
554 sprintf (comm1, "#0x%05x", dst); in msp430_doubleoperand()
599 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_doubleoperand()
602 sprintf (op1, "#%d", dst); in msp430_doubleoperand()
603 if (dst > 9 || dst < 0) in msp430_doubleoperand()
604 sprintf (comm1, "#0x%04x", PS (dst)); in msp430_doubleoperand()
607 dst &= 0xffff; in msp430_doubleoperand()
608 dst |= extended_src << 16; in msp430_doubleoperand()
609 if (dst & 0x80000) in msp430_doubleoperand()
610 dst |= -1U << 20; in msp430_doubleoperand()
611 sprintf (op1, "#%d", dst); in msp430_doubleoperand()
612 if (dst > 9 || dst < 0) in msp430_doubleoperand()
613 sprintf (comm1, "0x%05x", dst & 0xfffff); in msp430_doubleoperand()
626 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_doubleoperand()
629 sprintf (op1, "0x%04x", PS (dst)); in msp430_doubleoperand()
631 PS ((short) addr + 2 + dst)); in msp430_doubleoperand()
634 dst &= 0xffff; in msp430_doubleoperand()
635 dst |= extended_src << 16; in msp430_doubleoperand()
636 if (dst & 0x80000) in msp430_doubleoperand()
637 dst |= -1U << 20; in msp430_doubleoperand()
638 sprintf (op1, "0x%05x", dst & 0xfffff); in msp430_doubleoperand()
640 (long) ((addr + 2 + dst) & 0xfffff)); in msp430_doubleoperand()
648 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_doubleoperand()
651 sprintf (op1, "&0x%04x", PS (dst)); in msp430_doubleoperand()
652 sprintf (comm1, "0x%04x", PS (dst)); in msp430_doubleoperand()
655 dst &= 0xffff; in msp430_doubleoperand()
656 dst |= extended_src << 16; in msp430_doubleoperand()
657 sprintf (op1, "&0x%05x", dst & 0xfffff); in msp430_doubleoperand()
672 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_doubleoperand()
677 dst &= 0xffff; in msp430_doubleoperand()
678 dst |= extended_src << 16; in msp430_doubleoperand()
679 if (dst & 0x80000) in msp430_doubleoperand()
680 dst |= -1U << 20; in msp430_doubleoperand()
682 sprintf (op1, "%d(r%d)", dst, regs); in msp430_doubleoperand()
683 if (dst > 9 || dst < -9) in msp430_doubleoperand()
684 sprintf (comm1, "0x%05x", dst); in msp430_doubleoperand()
716 if (msp430dis_opcode_signed (addr + cmd_len, info, &dst, comm2)) in msp430_doubleoperand()
718 sprintf (op2, "0x%04x", PS (dst)); in msp430_doubleoperand()
720 PS ((short) addr + cmd_len + dst)); in msp430_doubleoperand()
723 dst |= extended_dst << 16; in msp430_doubleoperand()
724 if (dst & 0x80000) in msp430_doubleoperand()
725 dst |= -1U << 20; in msp430_doubleoperand()
726 sprintf (op2, "0x%05x", dst & 0xfffff); in msp430_doubleoperand()
728 (long)((addr + cmd_len + dst) & 0xfffff)); in msp430_doubleoperand()
736 if (msp430dis_opcode_signed (addr + cmd_len, info, &dst, comm2)) in msp430_doubleoperand()
739 sprintf (op2, "&0x%04x", PS (dst)); in msp430_doubleoperand()
742 dst |= extended_dst << 16; in msp430_doubleoperand()
743 sprintf (op2, "&0x%05x", dst & 0xfffff); in msp430_doubleoperand()
749 if (msp430dis_opcode_signed (addr + cmd_len, info, &dst, comm2)) in msp430_doubleoperand()
752 if (dst > 9 || dst < 0) in msp430_doubleoperand()
753 sprintf (comm2, "0x%04x", PS (dst)); in msp430_doubleoperand()
756 dst |= extended_dst << 16; in msp430_doubleoperand()
757 if (dst & 0x80000) in msp430_doubleoperand()
758 dst |= -1U << 20; in msp430_doubleoperand()
759 if (dst > 9 || dst < 0) in msp430_doubleoperand()
760 sprintf (comm2, "0x%05x", dst & 0xfffff); in msp430_doubleoperand()
762 sprintf (op2, "%d(r%d)", dst, regd); in msp430_doubleoperand()
782 int dst = 0; in msp430_branchinstr() local
835 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_branchinstr()
839 sprintf (op1, "0x%04x", PS (dst)); in msp430_branchinstr()
841 PS ((short) addr + 2 + dst)); in msp430_branchinstr()
862 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430_branchinstr()
865 sprintf (op1, "%d(r%d)", dst, regs); in msp430_branchinstr()
886 int dst = 0; in msp430x_calla_instr() local
897 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430x_calla_instr()
900 sprintf (op1, "%d(r%d)", dst, reg); in msp430x_calla_instr()
902 sprintf (comm1, "PC rel. 0x%05lx", (long) (addr + 2 + dst)); in msp430x_calla_instr()
904 sprintf (comm1, "0x%05x", dst); in msp430x_calla_instr()
929 if (msp430dis_opcode_signed (addr + 2, info, &dst, comm1)) in msp430x_calla_instr()
933 sprintf (op1, "%d(PC)", (reg << 16) + dst); in msp430x_calla_instr()
935 (long) (addr + 2 + dst + (reg << 16))); in msp430x_calla_instr()