Цитата Сообщение от Sayman Посмотреть сообщение
давно хотел попросить, но толи забывал, толи стеснялся... в общем. почему бы не добавить в компилятор тестер тактов? например, директива подобная .display, указали начало тестируемого блока и конец и в процессе сборки кода компилятор выдавал бы количество тактов в указанном блоке.
There is some plugin for VSC https://github.com/theNestruo/z80-asm-meter-vscode which can calculate ticks in selected block (I believe, I don't use VSC (yet), so I only heard about this).

I'm also thinking about adding ticks in the listing file + disassembly of produced machine code like some 6502 assembler has, but I guess it would be only single instruction related, not trying to interpret whole blocks. I don't think assembler should be too smart about this, its main task is assembling, but it can produce good raw data, to be processed by further tools/scripts -> but not anytime soon, as this will break current tools parsing sjasmplus listing, like https://github.com/maziac/DeZog (again VSC related... I'm really tempted to try it out, although I generally avoid MS software as much as possible ... also I heard the whole solution is currently unstable and needs some more fixing, mostly on ZEsarUX side, but I love the concept and I guess the bugs will be fixed over time). So this is again mostly in the "v2.x" ideas list.