Skip to content

Commit

Permalink
formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Djordjevic Nebojsa - nesh committed May 12, 2008
1 parent 2bccf50 commit e7ccef1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hardware/Z80/opcodes/genop.py
Expand Up @@ -43,12 +43,12 @@ def convert_to_table(out, type_, table):
else:
fnname = 'op_%s_%02X' % (type_.upper(), code)
ret.append('%s%s[0x%02X] = self.%s # %s' % (IDENT*2, tabname, code, fnname, op))

# # # prefixes
# prefixes
if type_ == 'base':
for code in (0xCB, 0xDD, 0xFD, 0xED,):
ret.append('%s%s[0x%02X] = self._run_%02x # prefix' % (IDENT*2, tabname, code, code))

ret.append('%s%s = tuple(%s)' % (IDENT*2, tabname, tabname))
if len(ret):
print >>out, '\n'.join(ret)
Expand Down

0 comments on commit e7ccef1

Please sign in to comment.