
/home/ubuntu/Desktop/riscv-compliance-master/work/rv32i/I-LBU-01.elf：     文件格式 elf32-littleriscv


Disassembly of section .text.init:

00000000 <_start>:
   0:	04c0006f          	j	4c <reset_vector>

00000004 <trap_vector>:
   4:	34202f73          	csrr	t5,mcause
   8:	00800f93          	li	t6,8
   c:	03ff0a63          	beq	t5,t6,40 <write_tohost>
  10:	00900f93          	li	t6,9
  14:	03ff0663          	beq	t5,t6,40 <write_tohost>
  18:	00b00f93          	li	t6,11
  1c:	03ff0263          	beq	t5,t6,40 <write_tohost>
  20:	00000f17          	auipc	t5,0x0
  24:	fe0f0f13          	addi	t5,t5,-32 # 0 <_start>
  28:	000f0463          	beqz	t5,30 <trap_vector+0x2c>
  2c:	000f0067          	jr	t5
  30:	34202f73          	csrr	t5,mcause
  34:	000f5463          	bgez	t5,3c <handle_exception>
  38:	0040006f          	j	3c <handle_exception>

0000003c <handle_exception>:
  3c:	5391e193          	ori	gp,gp,1337

00000040 <write_tohost>:
  40:	00001f17          	auipc	t5,0x1
  44:	fc3f2023          	sw	gp,-64(t5) # 1000 <tohost>
  48:	ff9ff06f          	j	40 <write_tohost>

0000004c <reset_vector>:
  4c:	f1402573          	csrr	a0,mhartid
  50:	00051063          	bnez	a0,50 <reset_vector+0x4>
  54:	00000297          	auipc	t0,0x0
  58:	01028293          	addi	t0,t0,16 # 64 <reset_vector+0x18>
  5c:	30529073          	csrw	mtvec,t0
  60:	18005073          	csrwi	satp,0
  64:	00000297          	auipc	t0,0x0
  68:	01c28293          	addi	t0,t0,28 # 80 <reset_vector+0x34>
  6c:	30529073          	csrw	mtvec,t0
  70:	fff00293          	li	t0,-1
  74:	3b029073          	csrw	pmpaddr0,t0
  78:	01f00293          	li	t0,31
  7c:	3a029073          	csrw	pmpcfg0,t0
  80:	00000297          	auipc	t0,0x0
  84:	01828293          	addi	t0,t0,24 # 98 <reset_vector+0x4c>
  88:	30529073          	csrw	mtvec,t0
  8c:	30205073          	csrwi	medeleg,0
  90:	30305073          	csrwi	mideleg,0
  94:	30405073          	csrwi	mie,0
  98:	00000193          	li	gp,0
  9c:	00000297          	auipc	t0,0x0
  a0:	f6828293          	addi	t0,t0,-152 # 4 <trap_vector>
  a4:	30529073          	csrw	mtvec,t0
  a8:	00100513          	li	a0,1
  ac:	01f51513          	slli	a0,a0,0x1f
  b0:	00054863          	bltz	a0,c0 <reset_vector+0x74>
  b4:	0ff0000f          	fence
  b8:	00100193          	li	gp,1
  bc:	00000073          	ecall
  c0:	00000297          	auipc	t0,0x0
  c4:	f4028293          	addi	t0,t0,-192 # 0 <_start>
  c8:	00028e63          	beqz	t0,e4 <reset_vector+0x98>
  cc:	10529073          	csrw	stvec,t0
  d0:	0000b2b7          	lui	t0,0xb
  d4:	10928293          	addi	t0,t0,265 # b109 <_end+0x8f05>
  d8:	30229073          	csrw	medeleg,t0
  dc:	30202373          	csrr	t1,medeleg
  e0:	f4629ee3          	bne	t0,t1,3c <handle_exception>
  e4:	30005073          	csrwi	mstatus,0
  e8:	00002537          	lui	a0,0x2
  ec:	80050513          	addi	a0,a0,-2048 # 1800 <fromhost+0x700>
  f0:	30052073          	csrs	mstatus,a0
  f4:	00000297          	auipc	t0,0x0
  f8:	01428293          	addi	t0,t0,20 # 108 <begin_testcode>
  fc:	34129073          	csrw	mepc,t0
 100:	f1402573          	csrr	a0,mhartid
 104:	30200073          	mret

00000108 <begin_testcode>:
 108:	00002f97          	auipc	t6,0x2
 10c:	ef8f8f93          	addi	t6,t6,-264 # 2000 <test_A1_data>
 110:	00002117          	auipc	sp,0x2
 114:	f3010113          	addi	sp,sp,-208 # 2040 <begin_signature>
 118:	000fc183          	lbu	gp,0(t6)
 11c:	001fc203          	lbu	tp,1(t6)
 120:	002fc283          	lbu	t0,2(t6)
 124:	003fc303          	lbu	t1,3(t6)
 128:	00312023          	sw	gp,0(sp)
 12c:	00412223          	sw	tp,4(sp)
 130:	00512423          	sw	t0,8(sp)
 134:	00612623          	sw	t1,12(sp)
 138:	00002c17          	auipc	s8,0x2
 13c:	ecdc0c13          	addi	s8,s8,-307 # 2005 <test_A2_data+0x1>
 140:	00002297          	auipc	t0,0x2
 144:	f1028293          	addi	t0,t0,-240 # 2050 <test_A2_res>
 148:	fffc4c83          	lbu	s9,-1(s8)
 14c:	000c4d03          	lbu	s10,0(s8)
 150:	001c4d83          	lbu	s11,1(s8)
 154:	002c4e03          	lbu	t3,2(s8)
 158:	0192a023          	sw	s9,0(t0)
 15c:	01a2a223          	sw	s10,4(t0)
 160:	01b2a423          	sw	s11,8(t0)
 164:	01c2a623          	sw	t3,12(t0)
 168:	00002397          	auipc	t2,0x2
 16c:	e9f38393          	addi	t2,t2,-353 # 2007 <test_A2_data+0x3>
 170:	00002417          	auipc	s0,0x2
 174:	ef040413          	addi	s0,s0,-272 # 2060 <test_A3_res>
 178:	0013cf03          	lbu	t5,1(t2)
 17c:	0023cf83          	lbu	t6,2(t2)
 180:	0033c083          	lbu	ra,3(t2)
 184:	0043c103          	lbu	sp,4(t2)
 188:	01e42023          	sw	t5,0(s0)
 18c:	01f42223          	sw	t6,4(s0)
 190:	00142423          	sw	ra,8(s0)
 194:	00242623          	sw	sp,12(s0)
 198:	00002517          	auipc	a0,0x2
 19c:	67450513          	addi	a0,a0,1652 # 280c <_end+0x608>
 1a0:	00002597          	auipc	a1,0x2
 1a4:	ed058593          	addi	a1,a1,-304 # 2070 <test_A4_res>
 1a8:	80054603          	lbu	a2,-2048(a0)
 1ac:	80154683          	lbu	a3,-2047(a0)
 1b0:	80254703          	lbu	a4,-2046(a0)
 1b4:	80354783          	lbu	a5,-2045(a0)
 1b8:	00c5a023          	sw	a2,0(a1)
 1bc:	00d5a223          	sw	a3,4(a1)
 1c0:	00e5a423          	sw	a4,8(a1)
 1c4:	00f5a623          	sw	a5,12(a1)
 1c8:	00001697          	auipc	a3,0x1
 1cc:	64c68693          	addi	a3,a3,1612 # 1814 <fromhost+0x714>
 1d0:	00002717          	auipc	a4,0x2
 1d4:	eb070713          	addi	a4,a4,-336 # 2080 <test_A5_res>
 1d8:	7fc6c783          	lbu	a5,2044(a3)
 1dc:	7fd6c803          	lbu	a6,2045(a3)
 1e0:	7fe6c883          	lbu	a7,2046(a3)
 1e4:	7ff6c903          	lbu	s2,2047(a3)
 1e8:	00f72023          	sw	a5,0(a4)
 1ec:	01072223          	sw	a6,4(a4)
 1f0:	01172423          	sw	a7,8(a4)
 1f4:	01272623          	sw	s2,12(a4)
 1f8:	00002817          	auipc	a6,0x2
 1fc:	e2080813          	addi	a6,a6,-480 # 2018 <test_B_data>
 200:	00002897          	auipc	a7,0x2
 204:	e9088893          	addi	a7,a7,-368 # 2090 <test_B_res>
 208:	ffc84903          	lbu	s2,-4(a6)
 20c:	ffd84983          	lbu	s3,-3(a6)
 210:	ffe84a03          	lbu	s4,-2(a6)
 214:	fff84a83          	lbu	s5,-1(a6)
 218:	00084b03          	lbu	s6,0(a6)
 21c:	00184b83          	lbu	s7,1(a6)
 220:	00284c03          	lbu	s8,2(a6)
 224:	00384c83          	lbu	s9,3(a6)
 228:	00484d03          	lbu	s10,4(a6)
 22c:	00584d83          	lbu	s11,5(a6)
 230:	00684e03          	lbu	t3,6(a6)
 234:	00784e83          	lbu	t4,7(a6)
 238:	0128a023          	sw	s2,0(a7)
 23c:	0138a223          	sw	s3,4(a7)
 240:	0148a423          	sw	s4,8(a7)
 244:	0158a623          	sw	s5,12(a7)
 248:	0168a823          	sw	s6,16(a7)
 24c:	0178aa23          	sw	s7,20(a7)
 250:	0188ac23          	sw	s8,24(a7)
 254:	0198ae23          	sw	s9,28(a7)
 258:	03a8a023          	sw	s10,32(a7)
 25c:	03b8a223          	sw	s11,36(a7)
 260:	03c8a423          	sw	t3,40(a7)
 264:	03d8a623          	sw	t4,44(a7)
 268:	00002a97          	auipc	s5,0x2
 26c:	db8a8a93          	addi	s5,s5,-584 # 2020 <test_C_data>
 270:	00002b17          	auipc	s6,0x2
 274:	e50b0b13          	addi	s6,s6,-432 # 20c0 <test_C_res>
 278:	000ac003          	lbu	zero,0(s5)
 27c:	000b2023          	sw	zero,0(s6)
 280:	00002a97          	auipc	s5,0x2
 284:	da4a8a93          	addi	s5,s5,-604 # 2024 <test_D_data>
 288:	00002b17          	auipc	s6,0x2
 28c:	e3cb0b13          	addi	s6,s6,-452 # 20c4 <test_D_res>
 290:	000aab83          	lw	s7,0(s5)
 294:	000bcc03          	lbu	s8,0(s7)
 298:	000c0c93          	mv	s9,s8
 29c:	019b2023          	sw	s9,0(s6)
 2a0:	00002c97          	auipc	s9,0x2
 2a4:	d8cc8c93          	addi	s9,s9,-628 # 202c <test_E1_data>
 2a8:	00002d17          	auipc	s10,0x2
 2ac:	e20d0d13          	addi	s10,s10,-480 # 20c8 <test_E1_res>
 2b0:	000ccc83          	lbu	s9,0(s9)
 2b4:	019d2023          	sw	s9,0(s10)
 2b8:	00002d97          	auipc	s11,0x2
 2bc:	d79d8d93          	addi	s11,s11,-647 # 2031 <test_E2_data+0x1>
 2c0:	00002e17          	auipc	t3,0x2
 2c4:	e0ce0e13          	addi	t3,t3,-500 # 20cc <test_E2_res>
 2c8:	fffdcd83          	lbu	s11,-1(s11)
 2cc:	01be2023          	sw	s11,0(t3)
 2d0:	0ff0000f          	fence
 2d4:	00100193          	li	gp,1
 2d8:	00000073          	ecall

000002dc <end_testcode>:
 2dc:	c0001073          	unimp
	...

Disassembly of section .tohost:

00001000 <tohost>:
	...

00001100 <fromhost>:
	...

Disassembly of section .data:

00002000 <test_A1_data>:
    2000:	f222                	fsw	fs0,36(sp)
    2002:	11f1                	addi	gp,gp,-4

00002004 <test_A2_data>:
    2004:	44f4                	lw	a3,76(s1)
    2006:	          	0xf666f333

00002008 <test_A3_data>:
    2008:	f666                	fsw	fs9,44(sp)
    200a:	55f5                	li	a1,-3

0000200c <test_A4_data>:
    200c:	88f8                	0x88f8
    200e:	          	0xaaaf777

00002010 <test_A5_data>:
    2010:	0aaa                	slli	s5,s5,0xa
    2012:	9909                	andi	a0,a0,-30
    2014:	cc0c                	sw	a1,24(s0)
    2016:	          	0xeee0bbb

00002018 <test_B_data>:
    2018:	0eee                	slli	t4,t4,0x1b
    201a:	dd0d                	beqz	a0,1f54 <fromhost+0xe54>
    201c:	00f0                	addi	a2,sp,76
    201e:	0fff                	0xfff

00002020 <test_C_data>:
    2020:	5678                	lw	a4,108(a2)
    2022:	1234                	addi	a3,sp,296

00002024 <test_D_data>:
    2024:	2028                	fld	fa0,64(s0)
	...

00002028 <test_D_data2_label>:
    2028:	def0                	sw	a2,124(a3)
    202a:	9abc                	0x9abc

0000202c <test_E1_data>:
    202c:	3210                	fld	fa2,32(a2)
    202e:	7654                	flw	fa3,44(a2)

00002030 <test_E2_data>:
    2030:	ba98                	fsd	fa4,48(a3)
    2032:	fedc                	fsw	fa5,60(a3)
	...

00002040 <begin_signature>:
    2040:	ffff                	0xffff
    2042:	ffff                	0xffff
    2044:	ffff                	0xffff
    2046:	ffff                	0xffff
    2048:	ffff                	0xffff
    204a:	ffff                	0xffff
    204c:	ffff                	0xffff
    204e:	ffff                	0xffff

00002050 <test_A2_res>:
    2050:	ffff                	0xffff
    2052:	ffff                	0xffff
    2054:	ffff                	0xffff
    2056:	ffff                	0xffff
    2058:	ffff                	0xffff
    205a:	ffff                	0xffff
    205c:	ffff                	0xffff
    205e:	ffff                	0xffff

00002060 <test_A3_res>:
    2060:	ffff                	0xffff
    2062:	ffff                	0xffff
    2064:	ffff                	0xffff
    2066:	ffff                	0xffff
    2068:	ffff                	0xffff
    206a:	ffff                	0xffff
    206c:	ffff                	0xffff
    206e:	ffff                	0xffff

00002070 <test_A4_res>:
    2070:	ffff                	0xffff
    2072:	ffff                	0xffff
    2074:	ffff                	0xffff
    2076:	ffff                	0xffff
    2078:	ffff                	0xffff
    207a:	ffff                	0xffff
    207c:	ffff                	0xffff
    207e:	ffff                	0xffff

00002080 <test_A5_res>:
    2080:	ffff                	0xffff
    2082:	ffff                	0xffff
    2084:	ffff                	0xffff
    2086:	ffff                	0xffff
    2088:	ffff                	0xffff
    208a:	ffff                	0xffff
    208c:	ffff                	0xffff
    208e:	ffff                	0xffff

00002090 <test_B_res>:
    2090:	ffff                	0xffff
    2092:	ffff                	0xffff
    2094:	ffff                	0xffff
    2096:	ffff                	0xffff
    2098:	ffff                	0xffff
    209a:	ffff                	0xffff
    209c:	ffff                	0xffff
    209e:	ffff                	0xffff
    20a0:	ffff                	0xffff
    20a2:	ffff                	0xffff
    20a4:	ffff                	0xffff
    20a6:	ffff                	0xffff
    20a8:	ffff                	0xffff
    20aa:	ffff                	0xffff
    20ac:	ffff                	0xffff
    20ae:	ffff                	0xffff
    20b0:	ffff                	0xffff
    20b2:	ffff                	0xffff
    20b4:	ffff                	0xffff
    20b6:	ffff                	0xffff
    20b8:	ffff                	0xffff
    20ba:	ffff                	0xffff
    20bc:	ffff                	0xffff
    20be:	ffff                	0xffff

000020c0 <test_C_res>:
    20c0:	ffff                	0xffff
    20c2:	ffff                	0xffff

000020c4 <test_D_res>:
    20c4:	ffff                	0xffff
    20c6:	ffff                	0xffff

000020c8 <test_E1_res>:
    20c8:	ffff                	0xffff
    20ca:	ffff                	0xffff

000020cc <test_E2_res>:
    20cc:	ffff                	0xffff
    20ce:	ffff                	0xffff

000020d0 <end_signature>:
	...

00002100 <begin_regstate>:
    2100:	0080                	addi	s0,sp,64
	...

00002200 <end_regstate>:
    2200:	0004                	0x4
	...
