Andes Workshop

It is currently Tue May 17, 2022 2:26 pm

All times are UTC + 8 hours [ DST ]

Search found 42 matches
Search these results:

Author Message

 Forum: AndeSight STD   Topic: 如何減少code size

 Post subject: Re: 如何減少code size
Posted: Wed Apr 09, 2014 11:31 am 

Replies: 3
Views: 10597

Hi banyh, The gcc compiler is auto produce __cxa_allocate_exception... etc. The reason it "works" by defining it as a global NULL void pointer is probably because nothing is throwing an exception. When something tries to throw an exception, then you will see it misbehave. you can reference...

 Forum: BSP (Board Support Package)   Topic: Check to instruction 16/32 bit format

Posted: Thu Apr 03, 2014 4:33 pm 

Replies: 1
Views: 10562

Example code at programming guide void NDS32ATTR_EXCEPT("id=7;save_all_regs ready_nested;") ge_hdlr(int vid, NDS32_CONTEXT *ptr) { unsigned char inst; /* User’s exception handling code here. */ /* About to return now, and we want to skip the instruction. */ inst = *((unsigned char...
Sort by:  
Page 5 of 5 [ Search found 42 matches ]

All times are UTC + 8 hours [ DST ]

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group