URL
https://opencores.org/ocsvn/usb_nand_reader/usb_nand_reader/trunk
Subversion Repositories usb_nand_reader
[/] [usb_nand_reader/] [trunk/] [mini32/] [USBdsc.asm] - Rev 7
Compare with Previous | Blame | View Log
_USB_Init_Desc:
;USBdsc.c,164 :: void USB_Init_Desc(){
;USBdsc.c,165 :: USB_config_dsc_ptr[0] = &configDescriptor1;
LUI R2, hi_addr(_configDescriptor1+0)
ORI R2, R2, lo_addr(_configDescriptor1+0)
SW R2, Offset(_USB_config_dsc_ptr+0)(GP)
;USBdsc.c,166 :: USB_string_dsc_ptr[0] = (const char*)&strd1;
LUI R2, hi_addr(_strd1+0)
ORI R2, R2, lo_addr(_strd1+0)
SW R2, Offset(_USB_string_dsc_ptr+0)(GP)
;USBdsc.c,167 :: USB_string_dsc_ptr[1] = (const char*)&strd2;
LUI R2, hi_addr(_strd2+0)
ORI R2, R2, lo_addr(_strd2+0)
SW R2, Offset(_USB_string_dsc_ptr+4)(GP)
;USBdsc.c,168 :: USB_string_dsc_ptr[2] = (const char*)&strd3;
LUI R2, hi_addr(_strd3+0)
ORI R2, R2, lo_addr(_strd3+0)
SW R2, Offset(_USB_string_dsc_ptr+8)(GP)
;USBdsc.c,169 :: }
L_end_USB_Init_Desc:
JR RA
NOP
; end of _USB_Init_Desc