# Z380 COFF File Format

Assembler code

```
seg000:001E                 inc     d
seg000:001F                 dec     d
seg000:0020
seg000:0020 loc_20:                                 ; CODE XREF: seg000:062A↓p
seg000:0020                 ld      d, 12h
seg000:0022
seg000:0022 loc_22:                                 ; CODE XREF: sub_0+23↓j
seg000:0022                 rla
seg000:0023                 jr      loc_22
seg000:0023 ; End of function sub_0
seg000:0023
seg000:0025 ; ---------------------------------------------------------------------------
seg000:0025                 add     hl, de
seg000:0026                 ld      a, (de)
seg000:0027                 dec     de
seg000:0028
seg000:0028 ; =============== S U B R O U T I N E =======================================
seg000:0028
seg000:0028
seg000:0028 sub_28:                                 ; CODE XREF: seg000:096A↓p
seg000:0028                 dec     de
seg000:0029                 inc     e
seg000:002A                 dec     e
seg000:002B                 ld      e, 12h
seg000:002D
seg000:002D loc_2D:                                 ; CODE XREF: sub_28+6↓j
seg000:002D                 rra
seg000:002E                 jr      nz, loc_2D
seg000:002E ; End of function sub_28
seg000:002E
seg000:0030
seg000:0030 ; =============== S U B R O U T I N E =======================================
seg000:0030
seg000:0030
seg000:0030 sub_30:                                 ; CODE XREF: seg000:097D↓p
seg000:0030                 ld      hl, 1234h

```


---

# 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/8.4/user-guide/disassembler/disassembly-gallery/z380-coff-file-format.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.
