?? l2.lst
字號:
001:000529 000000FA F4050000 =00000000 cabaccess w0, #cabwrite 001:000530 000000FB A4000000 nop 001:000531 000000FC E0000020 =00000020 wait COP_CAB 001:000533 000000FD 80700010 =00000010 add r1, #0x10 ; increment to port 55001:000534 000000FE 76744401 str cabdata, w8 001:000535 000000FF F4050000 =00000000 cabaccess w0, #cabwrite 001:000536 00000100 A4000000 nop 001:000537 00000101 E0000020 =00000020 wait COP_CAB ;************************************************************** ; Dn GTH Entry = 0x680 ;**************************************************************001:000542 00000102 B07002F0 =000002F0 ldr r1, #dispatch_Dn_GTH_lo_addr 001:000543 00000103 C0701604 or r1, r3 ; or in other word selects001:000544 00000104 B1740001 =00000001 ldr r8, #0x0001 001:000545 00000105 B074A000 =0000A000 ldr r9, #0xA000 001:000546 00000106 76744401 str cabdata, w8 001:000547 00000107 F4050000 =00000000 cabaccess w0, #cabwrite 001:000548 00000108 A4000000 nop 001:000549 00000109 E0000020 =00000020 wait COP_CAB ;************************************************************** ; GPQ Entry = 0x6E0 ;**************************************************************001:000554 0000010A B07002D0 =000002D0 ldr r1, #dispatch_GPQ_lo_addr 001:000555 0000010B C0701604 or r1, r3 ; or in other word selects001:000556 0000010C B1740001 =00000001 ldr r8, #0x0001 ; Code_entry = 0x6E0h, 001:000557 0000010D B074B800 =0000B800 ldr r9, #0xB800 ; 001:000558 0000010E 76744401 str cabdata, w8 17 Nov 2005 15:42:05 l2.asm Page 10File:Line Address OpCode Ref. Value Source Code v3.2.0========== ======== ======== ========== = ================================================================================001:000559 0000010F F4050000 =00000000 cabaccess w0, #cabwrite 001:000560 00000110 A4000000 nop 001:000561 00000111 E0000020 =00000020 wait COP_CAB ;************************************************************** ; Set All Interrupts Entry to 620 ; loop through all four interrupt levels ;**************************************************************001:000568 00000112 B0700380 =00000380 ldr r1, #dispatch_Int0_lo_addr 001:000569 00000113 C0701604 or r1, r3 ; or in other word selects001:000570 00000114 B1740001 =00000001 ldr r8, #0x0001 ; Code_entry = 0x620h, 001:000571 00000115 B0748800 =00008800 ldr r9, #0x8800 =00000116 intrset EQU $001:000574 00000116 76744401 str cabdata, w8 001:000575 00000117 F4050000 =00000000 cabaccess w0, #cabwrite 001:000576 00000118 A4000000 nop 001:000577 00000119 E0000020 =00000020 wait COP_CAB 001:000579 0000011A 80700010 =00000010 add r1, #0x0010 ; Increment to next address 001:000580 0000011B A07003C3 =000003C3 cmp r1, #0x03C3 ; compare to port address 244003C3 001:000581 0000011C 1A10FFF9 =00000116 bne intrset ; not equal repeat ; Address the timers ;************************************************************** ; Set All Timer Entry to 600 ; loop through all four timer levels ;************************************************************** 001:000588 0000011D B1740001 =00000001 ldr r8, #0x0001 ; Code_entry = 0x600h, 001:000589 0000011E B0748000 =00008000 ldr r9, #0x8000 001:000590 0000011F B07003C0 =000003C0 ldr r1,#dispatch_Timer0_lo_addr 001:000591 00000120 C0701604 or r1, r3 ; or in other word selects =00000121 timerset EQU $001:000594 00000121 76744401 str cabdata, w8 001:000595 00000122 F4050000 =00000000 cabaccess w0, #cabwrite 001:000596 00000123 A4000000 nop 001:000597 00000124 E0000020 =00000020 wait COP_CAB 001:000599 00000125 80700010 =00000010 add r1, #0x0010 ; Increment to next address 001:000600 00000126 A0700403 =00000403 cmp r1, #0x0403 ; compare to port address 24400403 001:000601 00000127 1A10FFF9 =00000121 bne timerset ; not equal repeat ;************************************************************** ; Set Reserved Entry = 0x640 ; loop from port 50 to 53, 41 and 44 ;**************************************************************001:000607 00000128 B0700320 =00000320 ldr r1, #dispatch_Res50_lo_addr 001:000608 00000129 C0701604 or r1, r3 ; or in other word selects001:000609 0000012A B1740001 =00000001 ldr r8, #0x0001 ; Code_entry = 0x640h, 001:000610 0000012B B0749000 =00009000 ldr r9, #0x9000 ; =0000012C reserv_set EQU $001:000613 0000012C 76744401 str cabdata, w8 001:000614 0000012D F4050000 =00000000 cabaccess w0, #cabwrite 001:000615 0000012E A4000000 nop 001:000616 0000012F E0000020 =00000020 wait COP_CAB 001:000618 00000130 80700010 =00000010 add r1, #0x0010 ; Increment to next address 001:000619 00000131 A0700363 =00000363 cmp r1, #0x0363 ; compare to port address 24400363 001:000620 00000132 1A10FFF9 =0000012C bne reserv_set ; not equal repeat 17 Nov 2005 15:42:05 l2.asm Page 11File:Line Address OpCode Ref. Value Source Code v3.2.0========== ======== ======== ========== = ================================================================================ 001:000622 00000133 B0700290 =00000290 ldr r1, #dispatch_Res41_lo_addr 001:000623 00000134 C0701604 or r1, r3 ; or in other word selects001:000624 00000135 76744401 str cabdata, w8 001:000625 00000136 F4050000 =00000000 cabaccess w0, #cabwrite 001:000626 00000137 A4000000 nop 001:000627 00000138 E0000020 =00000020 wait COP_CAB 001:000629 00000139 B07002C0 =000002C0 ldr r1, #dispatch_Res44_lo_addr 001:000630 0000013A C0701604 or r1, r3 ; or in other word selects001:000631 0000013B 76744401 str cabdata, w8 001:000632 0000013C F4050000 =00000000 cabaccess w0, #cabwrite 001:000633 0000013D A4000000 nop 001:000634 0000013E E0000020 =00000020 wait COP_CAB ;************************************************************** ; Set up Port Control Blocks Cut-Through threshold ; Start address is 0x10010000 and the threshold is in word 4 ;************************************************************** 001:000642 0000013F B2740000 =00000000 ldrh w8, #0x00 ; Set threshold to 1 buffers001:000643 00000140 76744401 str cabdata, w8 001:000645 00000141 B1701001 =00001001 ldr r0,#up_pcb_ctrl_block_hi_addr001:000646 00000142 B0700004 =00000004 ldr r1,#up_pcb_ctrl_block_lo_addr + 4 =00000143 pcbinit EQU $001:000648 00000143 F4050000 =00000000 cabaccess w0, #cabwrite001:000649 00000144 80700010 =00000010 add r1, #0x0010 ; inc to next port001:000650 00000145 A0700274 =00000274 cmp r1, #up_pcb_ctrl_block_end_addr + 4 ; compare to port 39001:000651 00000146 1AC0FFFC =00000143 ble pcbinit ; less than or equal repeat ;************************************************************** ; Write the MY_TB register and Local Target Blade ;**************************************************************001:000656 00000147 B1740000 =00000000 ldr r8, #0x0000 001:000657 00000148 B0740008 =00
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -