> >
<<
>>
<< >>

21.3.

6800. 72 , . 197 .

21.3.1.

. 21.3 , . : - - - ; ; ; -, .

3.3 (. )

21.3.2.

. 21.4 , () . . , ,

. , . - , , . 19.5.4. . .

- . 0001 0002, 0001, 0002. 0003 0004. 0005 0006.

, .. 0002 0004. , 0006. , .

(. )

() (. )


0005. . 21.5.

4- - .

21.5 (. ) 16-

21.3.3. .

. (Condition Code Register). 8 . ( ) , 1. :

(. )

I (Interrupt); - (Half Carry).

, . , , , , N 1, . , . 19.5.6, , 7 .

. , , , , , 1, . , . -

, , , . 21.6.

. . (Jump) , . : . ,


21.6 (. )

. 21.2.2. :

(. )

(Branch) , , , . , . 7- , . 19.5.6. , -128 ... +127 . :

(. )

, . 00, .

, . . , , . . 21.7 . , , , . , . .

.

21.7 (. ) 6800


0000, - 0001.

. 21.8 - . , . 1. . ..

21.8 (. )

, : . . (Return from Subroutine) .

, .. ; , , . , , , , . . - , .

, . (Stack). . . 21.9 LDS.

BSR JSR , ( ) , . . , .

, . , , , .

RTS (Return from Subroutine) , . , , , , . . , , . ,

21.9 (. ) 6800


8 .

PUL PUL . , , , , .

. , , , . IRQ (Interrupt Request) .

, . ( ) ( ).

, , . . . RTI (Return from Interrupt) .

. 21.4. .

, . 21.4. , , , .

, . PUL, . (: 07FF).

I , . . . 21.6. , , . , , . 21.5.

NMI (Non maskable Interrupt) , ( ) FFFD ( ). , .

SWI (Software Interrupt). , ( ) , . RTI. .

. 21.5. (. ) - IRQ RTI.

Reset . . Reset , . . 21.6.

.

. 21.6. .

, - .

<< >>