Shop OBEX P1 Docs P2 Docs Learn Events
Pnut issue with WMLONG instruction — Parallax Forums

Pnut issue with WMLONG instruction

Hi Chip

I've encountered an issue with Pnut handling the WMLONG instruction.

The docs show wmlong as
CCCC 1010100 11I DDDDDDDDD SSSSSSSSS        WMLONG  D,S/#/PTRx

If I try to use the pre/post modifiers or scaled index options on PTRx Pnut generates an error.

	wmlong	b2,ptra++	'Error - Expected an assembly effect or end of line

	wmlong	b2,ptra		'OK

Comments

  • cgraceycgracey Posts: 14,133
    I'm glad you discovered this. I'll be able to look at it this evening. I think I just used the wrong operand type for the WMLONG mnemonic.
Sign In or Register to comment.