Нее, мне внешне этот понравился, 3-в-1, но то жи своя мнемоника
http://adrianton3.github.io/chip8/sr...assembler.html
Нее, мне внешне этот понравился, 3-в-1, но то жи своя мнемоника
http://adrianton3.github.io/chip8/sr...assembler.html
Profi v3.2 -=- Speccy2010,r2
Вы прям как не программисты, уж конверторы мнемоник текста туда-сюда написать можно на коленке за пять минут.
Свирепый агрессивно-депрессивный мордовец!
Не уверен - не напрягай!
Не сдавайся. Дыши?
Virtual TR-DOS
а я вообще не программист, так, мимо проходил. А был бы программистом, то бы в гидре отредактировал файлек chip8.slaspec, чтобы он дизасмил и сразу правильно транслировал в мнемоники от NS. но, увы((
Profi v3.2 -=- Speccy2010,r2
the 0 vs 1 argument is known bug to me, but there's no simple fix... and *some* error is displayed ("wrong" one, but that's not critical for me).
I'm glad you are posting suggestions and feedback. But my original goal was to write some ZX Next SW, so I just did need some decent Z80 assembler (and I use almost exclusively only open source SW for last ~15 years, so Zeus was not an option for me) ... then the czech/slovak scene guys tricked me into taking a short look at sjasmplus source code... and what has been seen can't be unseen ... so I ended up fixing sjasmplus, instead of writing Z80 asm projects.
Now it's mostly "good enough" for me, you can still expect some bugfixes happen and new versions released, but if you really want some big change, rather start working on it yourself, my days have only 24h unfortunately, and I even need to sleep sometimes.. and do the paid-work too.
If my goal would be "create best Z80 assembler", I would be already working on "sjasmplus2", but not now... maybe couple of years later.![]()
Worry not, that's good that you're working on fixes, as it was in stall condition for years without any bugfixes. It is already in quite decent state, so tidying the bugs and/or upgrades sometimes is more than enough by me.
- - - Добавлено - - -
Не надо для этого быть программистом, надо просто доку почитать. Там одни плюсы, ифы и goto.
- - - Добавлено - - -
А как же powershell? Да даже в батниках небось можно конвертор сделать.
Свирепый агрессивно-депрессивный мордовец!
Не уверен - не напрягай!
Не сдавайся. Дыши?
Virtual TR-DOS
С любовью к вам, Yandex.Direct
Размещение рекламы на форуме способствует его дальнейшему развитию
давно хотел попросить, но толи забывал, толи стеснялся... в общем. почему бы не добавить в компилятор тестер тактов? например, директива подобная .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.
Ped7g, что то похожее на баг репорт
Код:macro mcr ccc if ccc = 9 nop endif endm label1 nop mcr label1 mcr label2 ;< [IF/IFN] Forward reference label2 nop
SjASMPlus Z80 Cross-Assembler v1.11.0
SjASMPlus Z80 Cross-Assembler v1.12.0
SjASMPlus Z80 Cross-Assembler v1.13.1
SjASMPlus Z80 Cross-Assembler v1.13.2
без ошибок
SjASMPlus Z80 Cross-Assembler v1.13.3
SjASMPlus Z80 Cross-Assembler v1.14.0
SjASMPlus Z80 Cross-Assembler v1.14.3
SjASMPlus Z80 Cross-Assembler v1.14.5sjchipasm.asm(1674): error: [IF/IFN] Forward reference: if label2 = 9
sjchipasm.asm(1662): error: [IF/IFN] Forward reference: if label2 = 9
sjchipasm.asm(1674): ^ emitted from here
даже так
- - - Добавлено - - -Код:if ccc = 9 nop endif ccc nop
хотя это только в первом проходе
но когда их сыпется 100500 штук
они мешают заметить другие более важные ошибки
- - - Добавлено - - -
ну и было бы полезно иметь
opt --msg=none
чтобы скрывать кучу ошибок в части кода
если то нельзя поправить
Последний раз редактировалось NEO SPECTRUMAN; 03.03.2020 в 17:39.
Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)