Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bbyalcinkaya authored Nov 19, 2024
1 parent bc4796b commit 587c97f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/komet/kdist/soroban-semantics/wasm-ops.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ module WASM-OPERATIONS
## Host function operations

- `hostCallAux(MOD,FUNC)`: Helper instruction for implementing host functions with arguments already loaded onto the
host stack. Reduces the need for defining `InternalInstr`s for host functions. Reduces the need to define custom
`InternalInstr` productions for each host function. The `hostCall-default` rule provides default behavior for host
functions without complex argument handling, allowing `hostCallAux` to streamline the process further.
host stack. Reduces the need to define custom `InternalInstr` productions for each host function.
The `hostCall-default` rule provides default behavior for host functions without complex argument handling, allowing
`hostCallAux` to streamline the process further.
- `loadArgs(N)`: Loads the first `N` arguments onto the host stack using `loadObject` starting from the last argument.
This positions the first argument at the top of the stack at the end.

Expand Down Expand Up @@ -100,4 +100,4 @@ module WASM-OPERATIONS

```k
endmodule
```
```

0 comments on commit 587c97f

Please sign in to comment.