49f82d69ded2e894957d064fad468bb0e06f1302
[riscv-tests.git] / debug / programs / step.S
1 // Test stepping over a variety of instructions.
2
3 .global main
4
5 main:
6 li t0, 5 // 0
7 beq zero, zero, one // 0x4
8 nop // 0x8
9 one:
10 beq zero, t0, one // 0xc
11 jal two // 0x10
12
13 three:
14 j three // 0x14
15
16 two:
17 ret // 0x18