Author |
Message |
Forum: AndeSight STD Topic: 如何減少code size |
jerry |
Posted: Wed Apr 09, 2014 11:31 am
|
|
Replies: 3 Views: 14806
|
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 |
jerry |
Posted: Thu Apr 03, 2014 4:33 pm
|
|
Replies: 1 Views: 15665
|
Example code 10.3.1.1 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: |