Closed xypron closed 4 months ago
https://github.com/riscv-non-isa/riscv-semihosting/blob/0a1e3af84f77dec0a69a0d6904a9cf59f134265b/src/binary-interface.adoc?plain=1#L21
In the pdf the example code is rendered as:
slli x0, x0, 0x1f # 0x01f01013 Entry NOP ebreak # 0x00100073 Break to debugger srai x0, x0, 7 # 0x40705013 NOP encoding the semihosting call number 7
At first sight I wondered if number 7 were a new opcode. We should avoid number 7 being at the start of a new line.
number 7
https://github.com/riscv-non-isa/riscv-semihosting/blob/0a1e3af84f77dec0a69a0d6904a9cf59f134265b/src/binary-interface.adoc?plain=1#L21
In the pdf the example code is rendered as:
At first sight I wondered if
number 7
were a new opcode. We should avoidnumber 7
being at the start of a new line.