This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| switch (instruction & 0xf000) { | |
| case 0x0000: { //nop movw muls mulsu fmul fmuls fmulsu cpc sbc add | |
| switch (instruction & 0x0c00) { | |
| case 0x0000: { | |
| switch (instruction & 0xff00) { | |
| case 0x0000: { //nop | |
| } | |
| case 0x0100: { //movw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <unistd.h> | |
| #include <stdlib.h> | |
| #include <signal.h> | |
| #include <stdio.h> | |
| void sig_handler(int sig) {exit(0);}; | |
| int main () { | |
| signal(SIGTERM,sig_handler); | |
| pid_t pid_v; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <setjmp.h> | |
| int J(jmp_buf x, int y) { | |
| longjmp(x,y); | |
| return 0; | |
| } | |
| int main(int argc, char **argv) | |
| { |
NewerOlder