Jump to content

Recommended Posts

Posted
This instruction works: MOV D202 D0V1 But when I am trying to use the index register with M type devices: LD M8000 SET M0V1 the next error appears: Error: F0137 Illegal device used or symbol not valid Anyone knows other possibilities to do the same thing (indexing M type devices) ? Thank you.
Posted
Hi That's not possible unless you're using an FX3U CPU. You could use an index on a dataregister and than use the DECO instruction to get the same result.
Posted
FX-series does not support bit indexing, except FX3U. Use words instead. Use [WOR K1M0Z H1 K1M0Z] instead of [sET M0Z], or [WAND K1M0Z HE K1M0Z] instead of [RST M0Z] Z may be any index register, and no other bits will be affected .
  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...