11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

JSET Jump if Bit Set JSETRestrictions: A JSET instruction used within a DO loop cannot specify the loopaddress (LA) as its target.A JSET located at LA, LA-1, or LA-2 <strong>of</strong> a DO loop cannot specify the program controllerregisters SR, SP, SSH, SSL, LA, or LC as its target.JSET SSH or JSET SSL cannot follow an instruction that changes the SP.A JSET instruction cannot be repeated using the REP instruction.Example:JSET #12,X:«$FFF2,$4321;$4321 ~(PC) if bit 12 (SCI COD) is setExplanation <strong>of</strong> Example: In this example, program execution is transferred to theaddress P:$4321 if bit 12 (SCI COD) <strong>of</strong> the 16-bit read/write I/O register X:$FFF2 is aone. If the specified bit is not set, no jump is taken and the program counter (PC) is incrementedby 1.Condition Codes:I LF I DM I T I·· I 81 I 80 I 11~ MR15 14 13 12 11 10 9 8 7 6 5 4 3 2 o• ~ GGRNz I vFor destination operand A or B:S -Computed according to the definition. See Notes on page A-135.L - Set if data limiting has occurred. See Notes on page A-135.E - Not affectedU - Not affectedN - Not affectedZ - Not affectedV - Not affectedC - Not affectedFor other source operands:The condition codes are not affected.

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

Saved successfully!

Ooh no, something went wrong!