| Electronic Components Datasheet Search |
|
V850E/MA3 Datasheet(PDF) 79 Page - NEC |
|
|
|||||||||||||||||||||||||||||
V850E/MA3 Datasheet(HTML) 79 Page - NEC |
|
79 / 226 page ![]() CHAPTER 5 INSTRUCTIONS User’s Manual U14559EJ3V1UM 79 <Branch instruction> Jump and register link JARL Jump and Register Link Instruction format JARL disp22, reg2 Operation GR [reg2] ← PC + 4 PC ← PC + sign-extend (disp22) Format Format V Opcode 15 0 31 16 rrrrr11110dddddd ddddddddddddddd0 ddddddddddddddddddddd is the higher 21 bits of disp22. Flag CY – OV – S – Z – SAT – Explanation Saves the current PC value plus 4 to general-purpose register reg2, adds the current PC value and 22-bit displacement, sign-extended to word length, and transfers control to the PC. Bit 0 of the 22-bit displacement is masked by 0. Remark The current PC value used for calculation is the address of the first byte of this instruction. If the displacement value is 0, the branch destination is this instruction itself. This instruction is equivalent to a call subroutine instruction, and saves the restored PC address to general-purpose register reg2. The JMP instruction, which is equivalent to a subroutine- return instruction, can be used to specify the general-purpose register containing the return address saved during the JARL subroutine-call instruction as reg1, to restore the program counter. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |