kirjavascript/Flex2

asm68k @ local label error

VAdaPEGA opened this issue · 6 comments

The recent Macro support feature is incompatible with mappings that use asm68k's default local label prefix.

image

(This isn't too big of a deal for newcomers but it comes off as a huge annoyance for older projects and disassemblies with the default @ local labels)

you can use asm({ basic }) => basic()) in the definition file to restore the previous behaviour

I'll see if I can just make it support both out of the box though

image
still gives an error

(for added context, game format is set to S3&K Object)

can you send me the file that's failing?

@zed:
@zed_0: 	dc.w @zed_6-@zed
@zed_2: 	dc.w @zed_E-@zed
@zed_4: 	dc.w @zed_16-@zed
@zed_6: 	dc.b $0, $1
	dc.b $FE, $0, $0, $5, $FF, $FF
@zed_E: 	dc.b $0, $1
	dc.b $FC, $0, $0, $4, $FF, $FC
@zed_16: 	dc.b $0, $2
	dc.b $F6, $5, $0, $0, $FF, $F9
	dc.b $0, $0, $0, $6, $0, $A
	even

nothing too complex, in fact, it was generated by Flex2 in the first place.

should be fixed now in 1.3.2. thanks for testing!