Z80 Assembly Meter now supports the "SDCC-dialect"

By Bengalack

Paladin (747)

Bengalack's picture

13-09-2020, 08:19

Just showing some appreciation :-)

theNestruo has released an update to the, already great, extension "Z80 Assembly meter". This time we get support for some of the strange syntax SDCC outputs and requires. This is great! --One thing is your own code, but it's very handy when you investigate the code that SDCC produces.

If you don't know what I'm talking about; these are some of the wierd syntax that is used in SDCC (or more correctly, their fork of the asxxxx assembler):

ld a, (iy-1)  ==> ld a, -1(iy)
...
xor n ==> xor a, n
...

The extension is found at:

https://marketplace.visualstudio.com/items?itemName=theNestr...

Login or register to post comments

By ToriHino

Paladin (855)

ToriHino's picture

13-09-2020, 10:06

Thanks for mentioning the update, going to try that Smile

By theNestruo

Champion (421)

theNestruo's picture

14-09-2020, 10:49

Thanks for the appreciation! Big smile
I'm glad people find my little extension useful!

By DarkSchneider

Paladin (1016)

DarkSchneider's picture

26-03-2023, 13:17

I can't get it to work. Installed, selected MSX as platform, but when selecting some part of code there is no infobox. I selected a part of pure ASM code, without labels or anything, a simple:

ld a, 0
ret

To ensure there is no issue with the assembler used and its directives, but nothing.
Using VSCode on macOS with Apple Silicon, but I think that should not be related.
Installed and enabled with no reported issues.

By theNestruo

Champion (421)

theNestruo's picture

26-03-2023, 15:02

DarkSchneider wrote:

I can't get it to work.

Have you checked the F.A.Q.? https://github.com/theNestruo/z80-asm-meter-vscode/blob/mast...
If it is still not working, please open an issue in Github (or post here) with your settings.json and the languageId of the file that is being unrecognized (far right side of the status bar).

By DarkSchneider

Paladin (1016)

DarkSchneider's picture

27-03-2023, 09:09

Hi, found the problem, the "z80-asm-meter.languageIds" was empty. After filling with its supposed default values works.

"asm-collection", "pasmo", "z80", "z80-asm", "z80-macroasm", "zeus-asm"

Using the version 3.5.1, maybe there is some issue with its installer.