Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
187 changes: 165 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions crates/ppvm-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ wherever you want execution to stop:

```
fn @main() {
const.u64 0
circuit.h
cpu::cpu.const u64, 0
circuit::circuit.h

// execution pauses here
breakpoint
cpu::cpu.breakpoint

const.u64 0
circuit.measure
ret
cpu::cpu.const u64, 0
circuit::circuit.measure
cpu::cpu.ret 0
}
```

Expand All @@ -145,6 +145,10 @@ measurements:
Measurements: 0
```

The `next:` display shows the runtime instruction formatter (for example,
`const.u64`); `.sst` source files must use the qualified v0.4 spelling shown
above.

To step through a program that has no breakpoints, pass `-b`/`--break-at-start`
to pause before the very first instruction:

Expand Down
Loading
Loading