section 7 - Index of
section 7 - Index of section 7 - Index of
JCLR Jump If Bit Clear JCLROperation:Assembler Syntax:If S[n]=O, then xxxx-+PC JCLR #n,X:ea,xxxxelse PC+ 1-+PCIf S[n]=O, then XXXX -+PC JCLR #n,X:aa,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,X:pp,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,Y:ea,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,Y:aa,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,Y:pp,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,S,xxxxelse PC+ 1 -+PCDescription: 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 clear. The bit tobe tested is selected by an immediate bit number from 0-23. If the specified memory bitis not clear, 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 I/O Short addressing modes may also be used.-
JCLR Jump If Bit Clear JCLRRestrictions: A JCLR instruction cannot be repeated using the REP instruction.A JCLR located at LA, LA-1, or LA-2 of the DO loop cannot specify the program controllerregisters SR, SP, SSH, SSL, LA, or LC as its target.JCLR SSH or JCLR SSL cannot follow an instruction that changes the SP.Example:JCLR #$5,X:«$FFF1 ,$1234;go to P:$1234 if bit 5 in SCI SSR is clearExplanation of Example: In this example, program execution is transferred to theaddress P:$1234 if bit 5 (PE) of the a-bit read-only X memory location X:$FFF1 (1/0 SCIinterface status register) is a zero. If the specified bit is not clear, no jump is taken, andthe program counter (PC) is incremented by one.Condition Codes:15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0I LF I OM I T I" I 51 I SO I 11 I 10 I 5 I LIE I u I N I z v I ~ I.~ MR ...... CCR -.For destination operand A or 8:S -Computed according to the definition. See Notes on page A-115.L - Set if data limiting has occurred. See Notes on page A-115.E - Not affectedU - Not affectedN - Not affectedZ - Not affectedV - Not affectedC - Not affectedFor other source operands:The condition codes are not affected.
- Page 299 and 300: BSETBit Test and SetBSETInstruction
- Page 301 and 302: BSETBit Test and SetBSETInstruction
- Page 303 and 304: BSET Bit Test and Set BSETNotes: If
- Page 305 and 306: BTSTBit TestBTSTCondition Codes:115
- Page 307 and 308: 8TSTBit Test8TSTInstruction Format:
- Page 309 and 310: 8TSTBit Test8TSTInstruction Format:
- Page 311 and 312: CLRClear AccumulatorCLRInstruction
- Page 313 and 314: CMP Compare CMPCondition Codes:15 1
- Page 315 and 316: CMPM Compare Magnitude CMPMConditio
- Page 317 and 318: DEBUGEnter Debug ModeDEBUGOpcode:23
- 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: JccJump ConditionallyJccEffectiveAd
- 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 and 370: JSCLR Jump to Subroutine If Bit Cle
- Page 371 and 372: JSET Jump if Bit Set JSETRestrictio
- 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
JCLR Jump If Bit Clear JCLROperation:Assembler Syntax:If S[n]=O, then xxxx-+PC JCLR #n,X:ea,xxxxelse PC+ 1-+PCIf S[n]=O, then XXXX -+PC JCLR #n,X:aa,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,X:pp,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,Y:ea,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,Y:aa,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,Y:pp,xxxxelse PC+ 1 -+PCIf S[n]=O, then XXXX -+PC JCLR #n,S,xxxxelse PC+ 1 -+PCDescription: Jump to the 16-bit absolute address in program memory specified in theinstruction's 24-bit extension word if the nth bit <strong>of</strong> the source operand S is clear. The bit tobe tested is selected by an immediate bit number from 0-23. If the specified memory bitis not clear, 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 <strong>of</strong> the state <strong>of</strong> the nth bit. All address registerindirect addressing modes may be used to reference the source operand S. AbsoluteShort and I/O Short addressing modes may also be used.-