projects
/
riscv-tests.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add explicit test for stepping over branches/jumps.
[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