section 7 - Index of
section 7 - Index of section 7 - Index of
JSETJump If Bit SetJSETOperation:If S[n]=O, then xxxx-+PCelse PC+ 1-+PCAssembler Syntax:JSET #n,X:ea,xxxxIf S[n]=1 , then xxxx-+PCelse PC+1-+PCIf S[n]=1 , then xxxx-+PCelse PC+1-+PCIf S[n]=1 , then XXXX -+PCelse PC+ 1-+PCIf S[n]=1 , then xxxx-+PCelse PC+ 1-+PCIf S[n]=1 , then XXXX -+PCelse PC+1-+PCIf S[n]=1 , then xxxx-+PCelse PC+ 1-+PCIf S[n]=1 , then xxxx-+PCelse PC+ 1-+PCJSETJSETJSETJSETJSETJSETJSET#n,X:ea,xxxx#n,X:aa,xxxx#n,X:pp,xxxx#n,Y:ea,xxxx#n,Y:aa,xxxx#n,Y:pp,xxxx#n,S,xxxx-Description: Jump to the 16-bit absolute address in program memory specified in theinstruction's 24-bit extension word if the nth bit of the source operand S is set. The bit tobe tested is selected by an immediate bit number from 0-23. If the specified memory bitis not set, the program counter (PC) is incremented, and the absolute address in theextension word is ignored. However, the address register specified in the effectiveaddress field is always updated independently of the state of the nth bit. All address registerindirect addressing modes may be used to reference the source operand S. Absoluteshort and 1/0 short addressing modes may also be used.
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 of 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 of Example: In this example, program execution is transferred to theaddress P:$4321 if bit 12 (SCI COD) of 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.
- Page 319 and 320: DEBUGcc Enter Debug Mode Conditiona
- Page 321 and 322: DEC Decrement by One DECInstruction
- Page 323 and 324: DIV Divide Interation DIVThe DIV in
- Page 325 and 326: DIV Divide Interation DIVNote that
- Page 327 and 328: DIVInstruction Format:DIV S,DDivide
- Page 329 and 330: DO Start Hardware Loop DOexecuted 6
- Page 331 and 332: DOStart Hardware LoopDOAt LAOther R
- Page 333 and 334: DOStart Hardware LoopDOInstruction
- Page 335 and 336: DOStart Hardware LoopDOInstruction
- Page 337 and 338: DO Start Hardware Loop DONotes: If
- Page 339 and 340: ENDDO End Current DO Loop ENDDOExpl
- Page 341 and 342: EOR Logical Exclusive OR EORInstruc
- Page 343 and 344: ILLEGALIllegal Instruction Interrup
- Page 345 and 346: INC Increment by One INCInstruction
- Page 347 and 348: Jcc Jump Conditionally JccRestricti
- Page 349 and 350: JccJump ConditionallyJccEffectiveAd
- Page 351 and 352: JCLR Jump If Bit Clear JCLRRestrict
- Page 353 and 354: JCLRJump If Bit ClearJCLRInstructio
- Page 355 and 356: JCLR Jump If Bit Clear JCLRInstruct
- Page 357 and 358: JMPJumpJMPInstruction Fields:xxx=12
- Page 359 and 360: JSccJump to Subroutine Conditionall
- Page 361 and 362: JScc Jump to Subroutine Conditional
- Page 363 and 364: JSCLR Jump to Subroutine if Bit Cle
- Page 365 and 366: JSCLRJump to Subroutine If Bit Clea
- Page 367 and 368: JSCLRJump to Subroutine If Bit Clea
- Page 369: JSCLR Jump to Subroutine If Bit Cle
- Page 373 and 374: JSETJump if Bit SetJSETInstruction
- Page 375 and 376: JSET Jump If Bit Set JSETInstructio
- Page 377 and 378: JSR Jump to Subroutine JSRInstructi
- Page 379 and 380: JSSET Jump to Subroutine if Bit Set
- Page 381 and 382: JSSETJump to Subroutine if Bit SetJ
- Page 383 and 384: JSSET Jump to Subroutine if Bit Set
- Page 385 and 386: LSL Logical Shift Left LSLCondition
- Page 387 and 388: LSR Logical Shift Right LSRConditio
- Page 389 and 390: LUALoad Updated AddressLUACondition
- Page 391 and 392: MAC Signed Multiply-Accumulate MACC
- Page 393 and 394: MACSigned Multiply-AccumulateMACTim
- Page 395 and 396: MACR Signed Multiply-Accumulate and
- Page 397 and 398: MACR Signed MUltiply-Accumulate and
- Page 399 and 400: MOVE Move Data MOVEExplanation of E
- Page 401 and 402: MOVE Move Data MOVEWhen a 56-bit ac
- Page 403 and 404: No Parallel Data MoveInstruction Fo
- Page 405 and 406: I Immediate Short Data Move IExampl
- Page 407 and 408: I Immediate Short Data Move IDDD d
- Page 409 and 410: R Register to Register Data Move RE
- Page 411 and 412: R Register to Register Data Move RI
- Page 413 and 414: uAddress Register UpdateuInstructio
- Page 415 and 416: X: X Memory Data Move X:Note:Due to
- Page 417 and 418: X: X Memory Data Move X:S D DS,D d
- Page 419 and 420: X: X Memory Data Move X:S D DS,D d
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.