]> sigrok.org Git - libsigrokdecode.git/commit
z80: Format hex numbers with leading zero if necessary.
authorDaniel Elstner <redacted>
Thu, 27 Feb 2014 20:31:10 +0000 (21:31 +0100)
committerDaniel Elstner <redacted>
Thu, 27 Feb 2014 20:41:56 +0000 (21:41 +0100)
commitaef3c1095e966212fd9a9b02cb08a0ff50e13a7b
treecf0a7c1d5b93932a9bba963979c3e0ab627ad3cf
parent31737ae022b6356eea8da9792e966b3e1d10f1c8
z80: Format hex numbers with leading zero if necessary.

Assembler syntax requires that all numbers start with a decimal
digit. Introduce a custom 'H' format for prefixing a leading 0
to hexadecimal numbers that would otherwise start with a letter.
decoders/z80/pd.py
decoders/z80/tables.py