Assembly listing
ConceptAn assembly listing is an output artifact in which a program is represented as assembly source. In the OpenTitan OTBN random-instruction-generator flow, `otbn-rig asm` deterministically converts a generated JSON program into an assembly listing, either as a `.s` file or on stdout.
First seen 6/1/2026
Last seen 6/1/2026
Evidence 1 chunks
Wiki v1
WIKI
Overview
In the OpenTitan OTBN random instruction generator workflow, an assembly listing is the assembly-form output generated from a JSON program description by otbn-rig asm. ([C1])
OTBN otbn-rig workflow
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →RELATIONSHIPS
1 connectionsThe asm command of otbn-rig converts JSON programs to assembly listings
LINKED ENTITIES
1 linksCITATIONS
8 sources8 citations — click to expand
[1] In the OTBN RIG workflow, an assembly listing is generated from a JSON program description by `otbn-rig asm`. OTBN Random Instruction Generator - OpenTitan
[2] `otbn-rig` currently has two subcommands: `gen` and `asm`. OTBN Random Instruction Generator - OpenTitan
[3] The `gen` command generates a random program and writes it to stdout in JSON format. OTBN Random Instruction Generator - OpenTitan
[4] The `asm` command performs a deterministic translation from JSON input to assembly and linker script output and does no random generation. OTBN Random Instruction Generator - OpenTitan
[5] With `--output foo`, `otbn-rig asm` generates `foo.s` as the assembly listing and `foo.ld` as the linker script. OTBN Random Instruction Generator - OpenTitan
[6] Without `--output`, `otbn-rig asm` prints the assembly listing to stdout and does not generate a linker script. OTBN Random Instruction Generator - OpenTitan
[7] The generated assembly listing can be assembled and linked using `otbn_as.py` and `otbn_ld.py`. OTBN Random Instruction Generator - OpenTitan
[8] The AES/SM4 ISA-extension paper states that full AES and SM4 assembler listings were provided with the implementation. A Lightweight ISA Extension for AES and SM4