> 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/ida-9.3/core/disassembler/disassembly-gallery/fujitsu-fr-.elf.md).

# Fujitsu FR (.elf)

Assembler code

```
.text:00000114
.text:00000114 ; =============== S U B R O U T I N E =======================================
.text:00000114
.text:00000114 ; Attributes: bp-based frame
.text:00000114
.text:00000114                 .globl main
.text:00000114                 .type main, @function
.text:00000114 main:
.text:00000114
.text:00000114 var_4           = -4
.text:00000114
.text:00000114                 st      rp, @-r15
.text:00000116                 enter   #8
.text:00000118                 ldi:32  #0x170, r4
.text:0000011E                 ldi:32  #printf, r1
.text:00000124                 call    @r1
.text:00000126                 ldi:8   #1, r4
.text:00000128                 ldi:8   #2, r5
.text:0000012A                 ldi:8   #3, r6
.text:0000012C                 ldi:32  #plok1, r1
.text:00000132                 call    @r1
.text:00000134                 mov     r4, r2
.text:00000136                 ldi:8   #var_4, r1
.text:00000138                 extsb   r1
.text:0000013A                 addn    r14, r1
.text:0000013C                 st      r2, @r1
.text:0000013E                 ldi:8   #var_4, r1
.text:00000140                 extsb   r1
.text:00000142                 addn    r14, r1
.text:00000144                 ld      @r1, r4
.text:00000146                 ldi:32  #plok2, r1
.text:0000014C                 call    @r1
.text:0000014E                 ldi:8   #0x61, r4 ; 'a'
.text:00000150                 ldi:32  #plok3, r1
.text:00000156                 call    @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 dynamically by asking a question.

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

```
GET https://docs.hex-rays.com/ida-9.3/core/disassembler/disassembly-gallery/fujitsu-fr-.elf.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
