# HPPA Risc Processor: HP-UX SOM

Assembler code

```
$CODE$:00004768
$CODE$:00004768 # =============== S U B R O U T I N E =======================================
$CODE$:00004768
$CODE$:00004768 # THUNK
$CODE$:00004768
$CODE$:00004768 # __int32 __fastcall sigblock(__int32 mask)
$CODE$:00004768 sigblock:                               # CODE XREF: sub_47C8+118C↓p
$CODE$:00004768                                         # DATA XREF: sigblock↓o ...
$CODE$:00004768
$CODE$:00004768 es_rp           =  0x18
$CODE$:00004768
$CODE$:00004768                 ldw             -0x2D0(%dp), %r21 # .sigblock
$CODE$:0000476C                 ldw             -0x2CC(%dp), %r19 # dword_40001614
$CODE$:00004770                 ldsid           (%r21), %r1
$CODE$:00004774                 mtsp            %r1, %sr0
$CODE$:00004778                 be              0(%sr0,%r21)
$CODE$:0000477C                 stw             %rp, -es_rp(%sp)
$CODE$:0000477C
$CODE$:0000477C # End of function sigblock
$CODE$:0000477C
$CODE$:00004780
$CODE$:00004780 # =============== S U B R O U T I N E =======================================
$CODE$:00004780
$CODE$:00004780 # THUNK
$CODE$:00004780
$CODE$:00004780 # __int32 __fastcall sigsetmask(__int32 mask)
$CODE$:00004780 sigsetmask:                             # CODE XREF: sub_47C8+1218↓p
$CODE$:00004780                                         # DATA XREF: sigsetmask↓o ...
$CODE$:00004780
$CODE$:00004780 es_rp           =  0x18
$CODE$:00004780
$CODE$:00004780                 ldw             -0x368(%dp), %r21 # .sigsetmask
$CODE$:00004784                 ldw             -0x364(%dp), %r19 # dword_4000157C
$CODE$:00004788                 ldsid           (%r21), %r1
$CODE$:0000478C                 mtsp            %r1, %sr0

```


---

# 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/core/disassembler/disassembly-gallery/hppa-risc-processor-hp-ux-som.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.
