section 7 - Index of

section 7 - Index of section 7 - Index of

11.07.2015 Views

JMPJumpJMPOperation:Oxxx --t PCea --t PCAssembler Syntax:JMP xxxJMPeaDescription: Jump to the location in program memory given by the instruction's effectiveaddress. All memory alterable addressing modes may be used for the effective address.A Fast Short Jump addressing mode may also be used. The 12-bit data is zero extendedto form the effective address.Restrictions: A JMP instruction used within a DO loop cannot begin at the address LAwithin that DO loop.A JMP instruction cannot be repeated using the REP instruction.Example:JMP (R1+N1);jump to program address P:(R1 +N1)Explanation of Example: In this example, program execution is transferred to the programaddress P:(R1 +N1).Condition Codes:1 LF I OM I T I ** I 81 I 80 I 1115 14 13 12 11 10 9 8 7 6 5 4... MR ....I 10 1 8 I L I E I uThe condition codes are not affected by this instruction.CCR3 2 0N I zv I :1-Instruction Format:JMP xxxOpcode:23 16 1510 0 0 0 1 1 0 0100 0 0 a a aoa a a a a a al

JMPJumpJMPInstruction Fields:xxx=12-bit Short Jump Address=aaaaaaaaaaaaTiming: 4+jx oscillator clock cyclesMemory: 1 +ea program wordsInstruction Format:JMP eaOpcode:23 16 150000101 o 11 18 7o0000000OPTIONAL EFFECTIVE ADDRESS EXTENSIONInstruction Fields:ea=6-bit Effective Address=MMMRRREffectiveAddressing ModeMMMRRRo 0 o r r r(Rn)-Nn(Rn)+Nn o 0 1 r r r(Rn)-o 1 o r r r(Rn)+o 1 1 r r r(Rn) 0 0 r r(Rn+Nn) 0 r r-(Rn)1 r r rAbsolute address o 0 0 0where "rrr" refers to an address register RO-R7Timing: 4+jx oscillator clock cyclesMemory: 1 +ea program words-

JMPJumpJMPOperation:Oxxx --t PCea --t PCAssembler Syntax:JMP xxxJMPeaDescription: Jump to the location in program memory given by the instruction's effectiveaddress. All memory alterable addressing modes may be used for the effective address.A Fast Short Jump addressing mode may also be used. The 12-bit data is zero extendedto form the effective address.Restrictions: A JMP instruction used within a DO loop cannot begin at the address LAwithin that DO loop.A JMP instruction cannot be repeated using the REP instruction.Example:JMP (R1+N1);jump to program address P:(R1 +N1)Explanation <strong>of</strong> Example: In this example, program execution is transferred to the programaddress P:(R1 +N1).Condition Codes:1 LF I OM I T I ** I 81 I 80 I 1115 14 13 12 11 10 9 8 7 6 5 4... MR ....I 10 1 8 I L I E I uThe condition codes are not affected by this instruction.CCR3 2 0N I zv I :1-Instruction Format:JMP xxxOpcode:23 16 1510 0 0 0 1 1 0 0100 0 0 a a aoa a a a a a al

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!