inline asm problem (bug?)

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Don.

(PB 2.70, Windows Me) If inline asm is turned on and you declare a variable like this

Code: Select all

xx = 1
& run the code then it's OK.

But if you declare it like this

Code: Select all

xx.l = 1
it crashes!

In fact, if you initialise anything of the form

Code: Select all

xA.l = some number
where A is any character, then it crashes with inline asm.

I can't see why this should cause any conflict with nasm.

Anyone got any ideas, or is this a bug?

Don
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

same here:

as.l = 1 ; OK
bs.l = 1 ; OK
cs.l = 1 ; OK
[...]
xs.l = 1 ; crash
>>> (pbcompiler.exe has generated errors and will be closed by Windows.)

(registered PureBasic user)
Post Reply