section 7 - Index of
section 7 - Index of section 7 - Index of
JSCLR Jump to Subroutine If Bit Clear JSCLROperation:Assembler SyntaxIf S[n]=O,JSCLR #n,X:ea,xxxxthen SP+ 1-+SP; PC-+SSH; SR-+SSL; XXXX -+PCelse PC+1 -+PCf S[n]=O, JSCLR #n,X:aa,xxxxthen SP+ 1-+SP; PC-+SSH; SR-+SSL; xxxx-+PCelse PC+ 1-+PCIf S[n]=O, JSCLR #n,X:pp,xxxxthen SP+ 1-+SP; PC-+SSH; SR-+SSL; xxxx-+PCelse PC+ 1-+PCIf S[n]=O, JSCLR #n,Y:ea,xxxxthen SP+1-+SP; PC-+SSH; SR-+SSL; xxxx-+PCelse PC+ 1-+PCIf S[n]=O, JSCLR #n,Y:aa,xxxxthen SP+1-+SP; PC-+SSH; SR-+SSL; xxxx-+PCelse PC+ 1-+PCIf S[n]=O, JSCLR #n,Y:pp,xxxxthen SP+ 1-+SP; PC-+SSH; SR-+SSL; xxxx-+PCelse PC+ 1-+PCIf S[n]=O, JSCLR #n,S,xxxxthen SP+1-+SP; PC-+SSH; SR-+SSL; xxxx-+PCelse PC+ 1-+PC-Description: Jump to the subroutine at the 16-bit absolute address in program memoryspecified in the instruction's 24-bit extension word if the nth bit of the source operand S isclear. The bit to be tested is selected by an immediate bit number from 0-23. If the nth bitof the source operand S is clear, the address of the instruction immediately following theJSCLR instruction (PC) and the system status register (SR) are pushed onto the systemstack. Program execution then continues at the specified absolute address in the instruction's24-bit extension word. If the specified memory bit is not clear, the program counter(PC) is incremented and the extension word is ignored. However, the address register
JSCLR Jump to Subroutine if Bit Clear JSCLRspecified in the effective address field is always updated independently of the state of thenth bit. All address register indirect addressing modes may be used to reference thesource operand S. Absolute short and I/O short addressing modes may also be used·Restrictions: A JSCLR instruction used within a DO loop cannot specify the loopaddress (LA) as its target.A JSCLR 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.JSCLR SSH or JSCLR SSL cannot follow an instruction that changes the SP.A JSCLR instruction cannot be repeated using the REP instruction.Example:JSCLR #$1 ,Y:«$FFE3,$1357;go sub. at P:$1357 if bit 1 in Y:$FFE3 is clearExplanation of Example: In this example, program execution is transferred to the subroutineat absolute address P:$1357 in program memory if bit 1 of the external I/O locationY:«$FFE3 is a zero. If the specified bit is not clear, no jump is taken and theprogram counter (PC) is incremented by 1.-
- 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 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: JScc Jump to Subroutine Conditional
- 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
- 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
JSCLR Jump to Subroutine if Bit Clear JSCLRspecified in the effective address field is always updated independently <strong>of</strong> the state <strong>of</strong> thenth bit. All address register indirect addressing modes may be used to reference thesource operand S. Absolute short and I/O short addressing modes may also be used·Restrictions: A JSCLR instruction used within a DO loop cannot specify the loopaddress (LA) as its target.A JSCLR 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.JSCLR SSH or JSCLR SSL cannot follow an instruction that changes the SP.A JSCLR instruction cannot be repeated using the REP instruction.Example:JSCLR #$1 ,Y:«$FFE3,$1357;go sub. at P:$1357 if bit 1 in Y:$FFE3 is clearExplanation <strong>of</strong> Example: In this example, program execution is transferred to the subroutineat absolute address P:$1357 in program memory if bit 1 <strong>of</strong> the external I/O locationY:«$FFE3 is a zero. If the specified bit is not clear, no jump is taken and theprogram counter (PC) is incremented by 1.-