Lines Matching full:opcode
772 long opcode, offset_reg, tmp;
782 opcode = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)(pc-sizeof(long)), 0);
792 * Unfortunately the opcode sizes of EXECUTE and SVC are differently,
793 * so that this doesn't work if a SVC opcode is part of an EXECUTE
794 * opcode. Since there is no way to find out the opcode size this
798 if ((opcode & 0xff00) == 0x0a00) {
799 /* SVC opcode */
800 scno = opcode & 0xff;
809 svc_addr = (void *) (opcode & 0xfff);
812 offset_reg = (opcode & 0x000f0000) >> 16;
818 offset_reg = (opcode & 0x0000f000) >> 12;
832 offset_reg = (opcode & 0x00f00000) >> 20;
925 /* This version analyzes the opcode of a syscall instruction.
950 "Unknown syscall opcode (0x%04X) while "