File: program.S

package info (click to toggle)
qtrvsim 0.9.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,844 kB
  • sloc: cpp: 25,687; ansic: 7,754; makefile: 318; python: 303; sh: 278; asm: 268; xml: 9
file content (14 lines) | stat: -rw-r--r-- 138 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
label:
nop
nop
la x1, label
auipc x2, %pcrel_hi(label)
addi x2, x2, %pcrel_lo(label)
bne x1, x1, fail
ebreak
nop
nop

fail:
.data
.word 0