~poptart/riscv-business

ref: 9962ec0bea4094cc56a581c768dd85cc43b2c7aa riscv-business/doc/noptest.s -rw-r--r-- 400 bytes
9962ec0b — terrorbyte No nulls! 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.section .text
.globl _start
_start:
	xor x0,x0,0
	xor x0,x0,1
	xor x0,x0,0xff
	and x0,x0,0	
	and x0,x0,1	
	and x0,x0,0xff	
	and x0,x0,x0	
	addi x0,x0,0
	addi x0,x0,1
	addi x0,x1,0
	addi x0,x1,1
	addi x0,x8,0
	addi x0,x8,1
	addi x0,x15,0
	addi x0,x15,1
	addi x0,x31,0
	addi x0,x31,1
	addiw x0,x0,0xff	
	rdcycle x0
	rdcycle x30
	#c.addi x17,1
	#c.addi x17,0x0
	li a0, 0x0
	li a7, 93
	#c.ebreak
	ecall