# 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

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hex-rays.com/ida-9.2/user-guide/disassembler/disassembly-gallery/rockwell-c39.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
