Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void my_func(void) {
- }
- void test(void (*function)(void)) {
- *(void*)0xD176D1 = function;
- return 0;
- }
- void main(void) {
- test(&my_func);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement