Apple II 사용자 설명서

다운로드
페이지 257
     $300:  01 50  BR $352
BRANCH IF NO CARRY:
     BNC ea              [ 02 d ]
     A branch to the effective address is taken only is the carry is
     clear, otherwise execution resumes as normal with the next
     instruction. Branch conditions are not changed.
BRANCH IF CARRY SET:
     BC ea               [ 03 d ]
     A branch is effected only if the carry is set. Branch conditions
     are not changed.
BRANCH IF PLUS:
     BP ea               [ 04 d ]
     A branch is effected only if the prior 'result' (or most
     recently transferred dat) was positive. Branch conditions are
     not changed.
     EXAMPLE: (Clear mem from A034 to A03F)
     15 34 A0           SET  R5   $A034     ;Init pointer
     14 3F A0           SET  R4   $A03F     ;Init limit
     B0         LOOP3   SUB  R0
     55                 ST   @R5            ;Clear mem byte
                                            ;Increment R5
     24                 LD   R4             ;Compare limit
     D5                 CPR  R5             ;to pointer
     04 FA              BP   LOOP3          ;Loop until done
BRANCH IF MINUS:
     BM ea               [ 05 d ]
     A branch is effected only if prior 'result' was minus (negative,
     MSB = 1). Branch conditions are not changed.
BRANCH IF ZERO:
     BZ ea               [ 06 d ]
     A Branch is effected only if the prior 'result' was zero. Branch
     conditions are not changed.
BRANCH IF NONZERO
     BNZ ea              [ 07 d ]
     A branch is effected only if the priot 'result' was non-zero
     Branch conditions are not changed.