Lines Matching refs:write16
654 write16(buf + 0, 0xf000); // b.w S in writeTo()
655 write16(buf + 2, 0xb000); in writeTo()
685 write16(buf + 0, 0xf240); // movw ip, :lower16:S in writeLong()
686 write16(buf + 2, 0x0c00); in writeLong()
687 write16(buf + 4, 0xf2c0); // movt ip, :upper16:S in writeLong()
688 write16(buf + 6, 0x0c00); in writeLong()
689 write16(buf + 8, 0x4760); // bx ip in writeLong()
720 write16(buf + 0, 0xf64f); // P: movw ip,:lower16:S - (P + (L1-P) + 4) in writeLong()
721 write16(buf + 2, 0x7cf4); in writeLong()
722 write16(buf + 4, 0xf2c0); // movt ip,:upper16:S - (P + (L1-P) + 4) in writeLong()
723 write16(buf + 6, 0x0c00); in writeLong()
724 write16(buf + 8, 0x44fc); // L1: add ip, pc in writeLong()
725 write16(buf + 10, 0x4760); // bx ip in writeLong()
744 write16(buf + 0, 0xb403); // push {r0, r1} ; Obtain scratch registers in writeLong()
745 write16(buf + 2, 0x4801); // ldr r0, [pc, #4] ; L1 in writeLong()
746 write16(buf + 4, 0x9001); // str r0, [sp, #4] ; SP + 4 = S in writeLong()
747 write16(buf + 6, 0xbd01); // pop {r0, pc} ; restore r0 and branch to dest in writeLong()
766 write16(buf + 0, 0xb403); // push {r0, r1} ; Obtain scratch registers in writeLong()
767 write16(buf + 2, 0x2000); // movs r0, :upper8_15:S in writeLong()
768 write16(buf + 4, 0x0200); // lsls r0, r0, #8 in writeLong()
769 write16(buf + 6, 0x3000); // adds r0, :upper0_7:S in writeLong()
770 write16(buf + 8, 0x0200); // lsls r0, r0, #8 in writeLong()
771 write16(buf + 10, 0x3000); // adds r0, :lower8_15:S in writeLong()
772 write16(buf + 12, 0x0200); // lsls r0, r0, #8 in writeLong()
773 write16(buf + 14, 0x3000); // adds r0, :lower0_7:S in writeLong()
774 write16(buf + 16, 0x9001); // str r0, [sp, #4] ; SP + 4 = S in writeLong()
775 write16(buf + 18, 0xbd01); // pop {r0, pc} ; restore r0 and branch to dest in writeLong()
793 write16(buf + 0, 0xb401); // P: push {r0} ; Obtain scratch register in writeLong()
794 write16(buf + 2, 0x4802); // ldr r0, [pc, #8] ; L2 in writeLong()
795 write16(buf + 4, 0x4684); // mov ip, r0 ; high to low register in writeLong()
796 write16(buf + 6, 0xbc01); // pop {r0} ; restore scratch register in writeLong()
797 write16(buf + 8, 0x44e7); // L1: add pc, ip ; transfer control in writeLong()
798 write16(buf + 10, 0x46c0); // nop ; pad to 4-byte boundary in writeLong()
843 write16(buf + 0, 0x4778); // bx pc in writeLong()
844 write16(buf + 2, 0xe7fd); // b #-6 ; Arm recommended sequence to follow bx pc in writeLong()
860 write16(buf + 0, 0x4778); // bx pc in writeLong()
861 write16(buf + 2, 0xe7fd); // b #-6 ; Arm recommended sequence to follow bx pc in writeLong()
913 write16(buf + 0, 0x4778); // P: bx pc in writeLong()
914 write16(buf + 2, 0xe7fd); // b #-6 ; Arm recommended sequence to follow bx pc in writeLong()
933 write16(buf + 0, 0x4778); // P: bx pc in writeLong()
934 write16(buf + 2, 0xe7fd); // b #-6 ; Arm recommended sequence to follow bx pc in writeLong()
989 write16(buf, 0x41b9); // lui $25, %hi(func) in writeTo()
990 write16(buf + 4, 0xd400); // j func in writeTo()
991 write16(buf + 8, 0x3339); // addiu $25, $25, %lo(func) in writeTo()
992 write16(buf + 12, 0x0c00); // nop in writeTo()
1015 write16(buf, 0x1320); // lui $25, %hi(func) in writeTo()
1016 write16(buf + 4, 0x3339); // addiu $25, $25, %lo(func) in writeTo()
1017 write16(buf + 8, 0x9400); // bc func in writeTo()