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
otbn-rig currently exposes two subcommands: gen and asm. The gen command creates a random program and writes it to stdout in JSON format. The asm command then consumes that JSON and performs a deterministic translation to assembly output; unlike gen, it does no random generation. ([C2], [C3], [C4])
When asm is invoked with --output foo, it generates two files:
foo.s: the assembly listingfoo.ld: the linker script
([C5])
If asm is run without --output, it prints the assembly listing to stdout and does not generate a linker script. ([C6])
Role in the build flow
After generation, the assembly listing can be assembled and linked with the OTBN toolchain, for example with otbn_as.py and otbn_ld.py. ([C7])
Broader usage of the term
The term also appears in published cryptographic ISA-extension work: the AES/SM4 RISC-V extension paper states that full AES and SM4 assembler listings were provided with the implementation. ([C8])