ASM Question

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 freak.

Hi,

Since '>>' has changed in 3.1, I wanted to use SHR/SHL to get
real bitise shifting.
I typed the following (ASM enabled)

Code: Select all

 a.l = 1
SHL a, 2
It says: 'Line 2 'A' is not a valid Operator'
I don't know very much about ASM, so can please someone help me?

Thanks, Timo



--

A debugged program is one for which you have not yet found the conditions that make it fail.
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 fred.

Sorry, it was a little bug in the inline ASM parser which prevented to use this instruction... Fixed for v3.20.

Fred - AlphaSND
Post Reply