rom1.asm 3.64 KB
rom.elf:     file format elf32-bigmips

Disassembly of section .cpram:

00000000bfc00000 <__entry>:
    bfc00000:   24080011        li      $t0,17
    bfc00004:   3c01a460        lui     $at,0xa460
    bfc00008:   ac280060        sw      $t0,96($at)
    bfc0000c:   3c08bfc4        lui     $t0,0xbfc4
    bfc00010:   3c0abfc0        lui     $t2,0xbfc0
    bfc00014:   654a0040        daddiu  $t2,$t2,64
    bfc00018:   3c09bfc4        lui     $t1,0xbfc4
    bfc0001c:   652900b0        daddiu  $t1,$t1,176

00000000bfc00020 <copy_rom_to_iram>:
    bfc00020:   8d4b0000        lw      $t3,0($t2)
    bfc00024:   ad0b0000        sw      $t3,0($t0)
    bfc00028:   25080004        addiu   $t0,$t0,4
    bfc0002c:   0109082b        sltu    $at,$t0,$t1
    bfc00030:   1420fffb        bnez    $at,bfc00020 <copy_rom_to_iram>
    bfc00034:   254a0004        addiu   $t2,$t2,4
    bfc00038:   0bf10000        j       bfc40000 <__start>
    bfc0003c:   00000000        nop
Disassembly of section .textu:

00000000bfc40000 <__start>:
    bfc40000:   3c08a430        lui     $t0,0xa430
    bfc40004:   8d080014        lw      $t0,20($t0)
    bfc40008:   3c01a460        lui     $at,0xa460
    bfc4000c:   ac280000        sw      $t0,0($at)
    bfc40010:   3c088000        lui     $t0,0x8000
    bfc40014:   25094000        addiu   $t1,$t0,16384
    bfc40018:   2529ffe0        addiu   $t1,$t1,-32
    bfc4001c:   4080e000        mtc0    $zero,$28
    bfc40020:   4080e800        mtc0    $zero,$29

00000000bfc40024 <init_icache>:
    bfc40024:   bd080000        cache   0x8,0($t0)
    bfc40028:   0109082b        sltu    $at,$t0,$t1
    bfc4002c:   1420fffd        bnez    $at,bfc40024 <init_icache>
    bfc40030:   25080020        addiu   $t0,$t0,32
    bfc40034:   24080001        li      $t0,1
    bfc40038:   3c01a460        lui     $at,0xa460
    bfc4003c:   ac280000        sw      $t0,0($at)
    bfc40040:   3c088000        lui     $t0,0x8000
    bfc40044:   25092000        addiu   $t1,$t0,8192
    bfc40048:   2529fff0        addiu   $t1,$t1,-16

00000000bfc4004c <init_dcache>:
    bfc4004c:   bd090000        cache   0x9,0($t0)
    bfc40050:   0109082b        sltu    $at,$t0,$t1
    bfc40054:   1420fffd        bnez    $at,bfc4004c <init_dcache>
    bfc40058:   25080010        addiu   $t0,$t0,16
    bfc4005c:   24080002        li      $t0,2
    bfc40060:   3c01a460        lui     $at,0xa460
    bfc40064:   ac280000        sw      $t0,0($at)
    bfc40068:   3c089fc4        lui     $t0,0x9fc4
    bfc4006c:   65080090        daddiu  $t0,$t0,144
    bfc40070:   3c01dfff        lui     $at,0xdfff
    bfc40074:   3421ffff        ori     $at,$at,0xffff
    bfc40078:   01014024        and     $t0,$t0,$at
    bfc4007c:   3c01a460        lui     $at,0xa460
    bfc40080:   ac280000        sw      $t0,0($at)
    bfc40084:   00000000        nop
    bfc40088:   01000008        jr      $t0
    bfc4008c:   00000000        nop
Disassembly of section .text:

### after this, we should see a block fetch of 32 bytes
### to satisfy the instruction cache miss;

000000009fc40090 <__start_cached>:
    9fc40090:   3c08a460        lui     $t0,0xa460
    9fc40094:   8d080060        lw      $t0,96($t0)
    9fc40098:   3c01ffff        lui     $at,0xffff
    9fc4009c:   3421fffe        ori     $at,$at,0xfffe
    9fc400a0:   01014024        and     $t0,$t0,$at
    9fc400a4:   3c01a460        lui     $at,0xa460
    9fc400a8:   ac280060        sw      $t0,96($at)
    9fc400ac:   00000000        nop
Disassembly of section .data:
Disassembly of section .reginfo:

0000000000004000 <.reginfo>:
    4000:       10000f02        b       7c0c <__start_cached-0x9fc38484>
        ...
    4014:       9fc400b0        lwu     $a0,176($s8)