# Atmel OAK DSP

Assembler code

```
ROM:0020
ROM:0020 ; =============== S U B R O U T I N E =======================================
ROM:0020
ROM:0020 ; Attributes: bp-based frame
ROM:0020
ROM:0020 RESET_0:                                ; CODE XREF: RESET↑j
ROM:0020
ROM:0020 ; FUNCTION CHUNK AT ROM:00CB SIZE 00000001 BYTES
ROM:0020
ROM:0020                 mov     #$35F,sp
ROM:0022                 mov     #$D,st0
ROM:0024                 mov     #1,st1
ROM:0026 ; assume page = 1
ROM:0026                 cntx    s
ROM:0027                 mov     #1,st0
ROM:0029                 mov     #0,st1
ROM:002B ; assume page = 0
ROM:002B                 mov     #$40,st2
ROM:002D                 cntx    r
ROM:002E                 mov     #$40,st2
ROM:0030                 mov     #0,cfgi
ROM:0032                 mov     #0,cfgj
ROM:0034                 mov     #$DD,a0
ROM:0036                 brr     loc_3E, eq
ROM:0037                 mov     #$C8DF,r0
ROM:0039                 mov     #$F955,r1
ROM:003B                 sub     #1,a0
ROM:003C                 rep     a0l
ROM:003D                 movp    (r0)+1,(r1)+1
ROM:003E
ROM:003E loc_3E:                                 ; CODE XREF: RESET_0+16↑j
ROM:003E                 call    sub_91
ROM:0040                 br      loc_CB
ROM:0040 ; End of function RESET_0
ROM:0040

```


---

# 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/atmel-oak-dsp.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.
