From: Daniel Elstner Date: Fri, 28 Feb 2014 18:48:33 +0000 (+0100) Subject: z80: Shorten annotation ID 'warning' to 'warn'. X-Git-Tag: libsigrokdecode-0.3.0~72 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e029ab1f6ff7fc8e06a4869417a875136318515f;p=libsigrokdecode.git z80: Shorten annotation ID 'warning' to 'warn'. --- diff --git a/decoders/z80/pd.py b/decoders/z80/pd.py index c88ea05..60c672f 100644 --- a/decoders/z80/pd.py +++ b/decoders/z80/pd.py @@ -80,13 +80,13 @@ def signed_byte(byte): class Decoder(srd.Decoder): api_version = 1 - id = 'z80' - name = 'Z80' - longname = 'Zilog Z80 CPU' - desc = 'Zilog Z80 microprocessor disassembly.' - license = 'gplv2+' - inputs = ['logic'] - outputs = ['z80'] + id = 'z80' + name = 'Z80' + longname = 'Zilog Z80 CPU' + desc = 'Zilog Z80 microprocessor disassembly.' + license = 'gplv2+' + inputs = ['logic'] + outputs = ['z80'] probes = [ {'id': 'd%d' % i, 'name': 'D%d' % i, 'desc': 'Data bus line %d' % i} for i in range(8) @@ -104,15 +104,15 @@ class Decoder(srd.Decoder): ] options = {} annotations = [ - ['addr', 'Memory or I/O address'], - ['memrd', 'Byte read from memory'], - ['memwr', 'Byte written to memory'], - ['iord', 'Byte read from I/O port'], - ['iowr', 'Byte written to I/O port'], - ['instr', 'Z80 CPU instruction'], - ['rop', 'Value of input operand'], - ['wop', 'Value of output operand'], - ['warning', 'Warning message'], + ['addr', 'Memory or I/O address'], + ['memrd', 'Byte read from memory'], + ['memwr', 'Byte written to memory'], + ['iord', 'Byte read from I/O port'], + ['iowr', 'Byte written to I/O port'], + ['instr', 'Z80 CPU instruction'], + ['rop', 'Value of input operand'], + ['wop', 'Value of output operand'], + ['warn', 'Warning message'], ] annotation_rows = ( ('addrbus', 'Address bus', (Ann.ADDR,)),