> 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/core/disassembler/disassembly-gallery/h8-300s-coff-file-format.md).

# H8 300s: COFF FILE Format

Assembler code

```
.text:00000114                 ble     _L2:8
.text:00000116                 mov.w   #0x22, r2 ; '"'
.text:0000011A                 mov.w   r2, @er0
.text:0000011C                 mov.l   @___infinity:32, er0
.text:00000124                 mov.w   r3, r3
.text:00000126                 beq     _L11:8
.text:00000128                 jsr     ___negsf2:24
.text:0000012C                 bra     _L11:8
.text:0000012E ; ---------------------------------------------------------------------------
.text:0000012E
.text:0000012E _L2:                                    ; CODE XREF: ___adjust+14↑j
.text:0000012E                 cmp.w   #0xFECC, r4
.text:00000132                 bge     _L4:8
.text:00000134                 mov.w   #0x22, r2 ; '"'
.text:00000138                 mov.w   r2, @er0
.text:0000013A                 mov.l   @_LC0:16, er0
.text:00000140                 bra     _L11:8
.text:00000142 ; ---------------------------------------------------------------------------
.text:00000142
.text:00000142 _L4:                                    ; CODE XREF: ___adjust+32↑j
.text:00000142                 mov.l   @er1, er5
.text:00000146                 mov.w   r3, r3
.text:00000148                 beq     _L6:8
.text:0000014A                 mov.l   er5, er0
.text:0000014C                 jsr     ___negsf2:24
.text:00000150                 mov.l   er0, er5
.text:00000152
.text:00000152 _L6:                                    ; CODE XREF: ___adjust+48↑j
.text:00000152                 mov.w   r4, r4
.text:00000154                 bne     _L7:8
.text:00000156                 mov.l   er5, er0
.text:00000158                 bra     _L11:8
.text:0000015A ; ---------------------------------------------------------------------------
.text:0000015A
.text:0000015A _L7:                                    ; CODE XREF: ___adjust+54↑j
.text:0000015A                 mov.w   r4, r4

```


---

# 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/core/disassembler/disassembly-gallery/h8-300s-coff-file-format.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.
