## Keyboard shortcuts

Press `←` or `→` to navigate between chapters

Press `S` or `/` to search in the book

Press `?` to show this help

Press `Esc` to hide this help

# Rockwell C39

Assembler code

    ROM:E520
    ROM:E520 ; =============== S U B R O U T I N E =======================================
    ROM:E520
    ROM:E520
    ROM:E520 sub_E520:                               ; CODE XREF: JSB0__0+9↓j
    ROM:E520                                         ; sub_E581↓p ...
    ROM:E520                 STI     #0x70, 0x0018 ; 'p' ; Bank switch register 0000-1FFF (R/W)
    ROM:E523                 STI     #0x71, 0x0019 ; 'q' ; Bank switch register 2000-3FFF (R/W)
    ROM:E526                 STI     #0x72, 0x001A ; 'r' ; Bank switch register 4000-5FFF (R/W)
    ROM:E529                 STI     #0x73, 0x001B ; 's' ; Bank switch register 6000-7FFF (R/W)
    ROM:E52C                 RTS
    ROM:E52C ; End of function sub_E520
    ROM:E52C
    ROM:E52D
    ROM:E52D ; =============== S U B R O U T I N E =======================================
    ROM:E52D
    ROM:E52D
    ROM:E52D sub_E52D:                               ; CODE XREF: sub_E5B8↓p
    ROM:E52D                 STI     #0x74, 0x0018 ; 't' ; Bank switch register 0000-1FFF (R/W)
    ROM:E530                 STI     #0x75, 0x0019 ; 'u' ; Bank switch register 2000-3FFF (R/W)
    ROM:E533                 STI     #0x76, 0x001A ; 'v' ; Bank switch register 4000-5FFF (R/W)
    ROM:E536                 RTS
    ROM:E536 ; End of function sub_E52D
    ROM:E536
    ROM:E537
    ROM:E537 ; =============== S U B R O U T I N E =======================================
    ROM:E537
    ROM:E537
    ROM:E537 sub_E537:                               ; CODE XREF: sub_E5EF↓p
    ROM:E537                 STI     #0x78, 0x0018 ; 'x' ; Bank switch register 0000-1FFF (R/W)
    ROM:E53A                 STI     #0x79, 0x0019 ; 'y' ; Bank switch register 2000-3FFF (R/W)
    ROM:E53D                 STI     #0x7A, 0x001A ; 'z' ; Bank switch register 4000-5FFF (R/W)
    ROM:E540                 STI     #0x7B, 0x001B ; '{' ; Bank switch register 6000-7FFF (R/W)
    ROM:E543                 RTS
    ROM:E543 ; End of function sub_E537
    ROM:E543