sarnau / Z80DisAssembler

I created this small disassembler for a Z80 cpu in one afternoon. It is a commandline tool.
20 stars 5 forks source link

unique format; `mv *.cp *.cpp` (std ext for c++); update README.md #23

Closed Ho-Ro closed 2 months ago

Ho-Ro commented 2 months ago

No functional change, applied only clang-format and renamed *.cp files. *.cp is unusual, editor kate interprets them as component pascal. The format adds spaces around operators and makes the code easier to read if you're looking for long time on the source.

Ho-Ro commented 2 months ago

plus a small bugfix: hex numbers ending in 'H' must start with a decimal number, else it is a symbol/label. Also fix for disassembler - write hex numbers as $xxxx b/c ABCDH is SYMBOL while $ABCD is NUM