11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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.-

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

Saved successfully!

Ooh no, something went wrong!