Not applicable
Jun 20, 2017
02:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 20, 2017
02:45 PM
I'm trying to create illegal instruction reset.
I'm programming Infineon TC29x Aurix Tricore Microcontroller based embedded system in 'C' language.
I need to set program counter to illegal address, i.e. 0x00FF FFFC. Can this be done with assembly language instructions?
If yes, please instrument assembly language instruction that would set program counter to 0x00FF FFFC while code is running.
I'm programming Infineon TC29x Aurix Tricore Microcontroller based embedded system in 'C' language.
I need to set program counter to illegal address, i.e. 0x00FF FFFC. Can this be done with assembly language instructions?
If yes, please instrument assembly language instruction that would set program counter to 0x00FF FFFC while code is running.
- Tags:
- IFX
1 Reply
Jun 20, 2017
06:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 20, 2017
06:52 PM
You can place this code snippet:
void (*foo)(void) = (void*)(0x00FFFFFC);
foo();
void (*foo)(void) = (void*)(0x00FFFFFC);
foo();