## 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

# 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