> For the complete documentation index, see [llms.txt](https://docs.hex-rays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hex-rays.com/8.5/user-guide/disassembler/disassembly-gallery/cr16.md).

# CR16

Assembler code

```
ROM:4B66                 .byte 0xCE ; Î
ROM:4B67                 .byte 0x15
ROM:4B68                 .byte 0xFE ; þ
ROM:4B69                 .byte 0x2E ; .
ROM:4B6A ; ---------------------------------------------------------------------------
ROM:4B6A                 bal     r6, sub_E8BA
ROM:4B6E                 movw    $0xEE36, r7
ROM:4B72                 movw    $0x25A8, r8
ROM:4B76                 movw    $0xEE4F, r9
ROM:4B7A                 movw    $0xEE4A, r10
ROM:4B7E                 movw    $0xEE4C, r11
ROM:4B82                 movw    $0xEE4D, r12
ROM:4B86                 movw    $0xEE4E, r13
ROM:4B8A                 loadb   0x00(r2), r0
ROM:4B8C                 cmpb    $0xFF98, r0
ROM:4B90                 bne     loc_4B98
ROM:4B92                 loadb   byte_EE49, r0
ROM:4B96                 storb   r0, 0x00(r2)
ROM:4B98
ROM:4B98 loc_4B98:                               ; CODE XREF: ROM:4B90↑j
ROM:4B98                 loadb   0x00(r2), r6
ROM:4B9A                 bal     r0, sub_E68A
ROM:4B9E                 addb    $-0x10, r0
ROM:4BA0                 mulw    $0x0B, r3
ROM:4BA2                 loadw   0x0002(r2), r4
ROM:4BA4                 loadb   0x04(r3), r9
ROM:4BA6                 mulw    $0xF2, r7
ROM:4BA8                 addb    $0x07, r4
ROM:4BAA                 loadb   0x09(r3), r1
ROM:4BAC                 mulw    $0x0F, r8
ROM:4BAE                 orw     $0x09, r4
ROM:4BB0                 loadb   0x0B(r3), r1
ROM:4BB2                 mulw    $0x04, r10
ROM:4BB4                 adduw   r5, r12
ROM:4BB6                 loadb   0x0D(r3), r1
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hex-rays.com/8.5/user-guide/disassembler/disassembly-gallery/cr16.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
