SjASM v0.39d

by sjoerd on 21-08-2004, 18:10
Topic: Development
Languages:

There's a new release of SjASM, the xl2s Z80 cross assembler for PC. New in this version:

  • Fixed a structure initialization bug
  • DZ and ABYTEZ directives to define null terminated strings
  • Some LD, LDI and LDD 'instructions
  • And, as always, some minor bugfixes

Relevant link: xl2s website

Comments (13)

By msd

Paragon (1461)

msd's picture

21-08-2004, 19:33

Some LD, LDI and LDD 'instructions? Smile

By anonymous

incognito ergo sum (116)

anonymous's picture

21-08-2004, 19:39

*cough*

By pitpan

Prophet (3140)

pitpan's picture

21-08-2004, 20:17

*cough* guess the wrong line *cough*

By anonymous

incognito ergo sum (116)

anonymous's picture

21-08-2004, 20:48

pitpan, I can recommend you some very good cough medicine if you want Smile

By sjoerd

Hero (602)

sjoerd's picture

21-08-2004, 21:04

LD DE,HL and LDI A,(HL) for example Smile

By Grauw

Ascended (10019)

Grauw's picture

21-08-2004, 21:35

ok whew... made me think SjASM didn't support LDI and LDD yet ;p.

By BiFi

Enlighted (4348)

BiFi's picture

22-08-2004, 08:06

wasn't LDI something like?:

ld a,(hl)
ld (de),a
inc de
inc hl
dec bc
ld a,c
or b

By Grauw

Ascended (10019)

Grauw's picture

22-08-2004, 11:26

More or less. But I guess LDI A,(HL) rather just does more simple something like ld a,(hl) : inc hl... Otherwise it should be a macro, because hiding that kind of large blocks of code under one instruction would be confusing.

~Grauw

By flyguille

Prophet (3028)

flyguille's picture

22-08-2004, 21:49

Great job!

By sjoerd

Hero (602)

sjoerd's picture

25-08-2004, 20:11

LDI is more like:
ld (de),(hl)
inc hl
inc de
dec bc
wasn't the R800 mnemonic something like MOVE (DE++),(HL++)?

And indeed, LDI A,(HL) is just:
ld a,(hl)
inc hl

And I have to say I use these 'new' (ahum) instructions quite a lot myself now...

flyguille: thanks Smile

By anonymous

incognito ergo sum (116)

anonymous's picture

25-08-2004, 21:30

Something like that, sjoerd.. But R800 uses .de and .hl and square brackets [ ]

I wonder if anyone would be interested in support for the real R800 mnemonics ^^;

By Grauw

Ascended (10019)

Grauw's picture

25-08-2004, 22:27

Don't think so... Although I like the ++ syntax Smile.

By sjoerd

Hero (602)

sjoerd's picture

10-09-2004, 14:44

I have removed a stupid bug, so there is a new version on the site.