diff options
Diffstat (limited to 'devtools/tasmrecover/tasm/cpp.py')
-rw-r--r-- | devtools/tasmrecover/tasm/cpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/tasmrecover/tasm/cpp.py b/devtools/tasmrecover/tasm/cpp.py index 0e87656bcc..20af0ea632 100644 --- a/devtools/tasmrecover/tasm/cpp.py +++ b/devtools/tasmrecover/tasm/cpp.py @@ -353,13 +353,13 @@ namespace %s { self.body += "\tif (context.flags.l()) %s;\n" %(self.jump_to_label(label)) def _jg(self, label): - self.body += "\tif (!context.flags.g()) %s;\n" %(self.jump_to_label(label)) + self.body += "\tif (!context.flags.le()) %s;\n" %(self.jump_to_label(label)) def _jle(self, label): self.body += "\tif (context.flags.le()) %s;\n" %(self.jump_to_label(label)) def _jge(self, label): - self.body += "\tif (!context.flags.ge()) %s;\n" %(self.jump_to_label(label)) + self.body += "\tif (!context.flags.l()) %s;\n" %(self.jump_to_label(label)) def _jc(self, label): self.body += "\tif (context.flags.c()) %s;\n" %(self.jump_to_label(label)) |