summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.kitta@gmail.com>2014-02-28 19:48:33 +0100
committerDaniel Elstner <daniel.kitta@gmail.com>2014-02-28 19:49:50 +0100
commite029ab1f6ff7fc8e06a4869417a875136318515f (patch)
treea8a38a2541abe85b27218d6821d2b0bfb3f171e2 /decoders
parent8830db5df55241e1ea775a70671ecb11235cf3c1 (diff)
downloadlibsigrokdecode-e029ab1f6ff7fc8e06a4869417a875136318515f.tar.gz
libsigrokdecode-e029ab1f6ff7fc8e06a4869417a875136318515f.zip
z80: Shorten annotation ID 'warning' to 'warn'.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/z80/pd.py32
1 files changed, 16 insertions, 16 deletions
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,)),