Last active
August 29, 2015 14:17
-
-
Save arunk-s/f799d1d93788d1069b2c to your computer and use it in GitHub Desktop.
Revisions
-
arunk-s revised this gist
Mar 15, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ START = line | register_name = "eax" | "ebx" | "ecx" | "edx" label = +([\w]) ":" inst_mov = "mov " register_name "," register_name, | "mov " register_name "," +([\d]) inst_add = "add " register_name "," register_name, | "add " register_name "," +([\d]) -
arunk-s revised this gist
Mar 15, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,9 +2,9 @@ START = line | register_name = "eax" | "ebx" | "ecx" | "edx" label = +([\w]) ":" inst_mov = "mov" register_name "," register_name, | "mov " register_name "," +([\d]) inst_add = "add " register_name "," register_name, | "add " register_name "," +([\d]) inst_jmp = "jmp " +([\w]) -
arunk-s created this gist
Mar 14, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ START = line | register_name = "eax" | "ebx" | "ecx" | "edx" label = +([\w]) ":" inst_mov = "mov" register_name "," "register_name", | "mov " register_name "," +([\d]) inst_add = "add " register_name "," "register_name", | "add " register_name "," +([\d]) inst_jmp = "jmp " +([\w]) inst_inc = "inc " register_name inst = inst_mov | inst_add | inst_inc | inst_jmp line = inst | label