# IX register rules

**URL:** <https://forums.digi.com/t/ix-register-rules/10268>\
**Category:** Rabbit\
**Created:** [March 5, 2009, 5:42am UTC](https://forums.digi.com/t/ix-register-rules/10268 "2009-03-05T05:42:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajcurtis84](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@ajcurtis84](https://forums.digi.com/u/ajcurtis84)\
**Post date:** [March 5, 2009, 5:42am UTC](https://forums.digi.com/t/ix-register-rules/10268/1 "2009-03-05T05:42:09Z")

</div>

Hello,

According to the DC documentation the IX register must be preserve because it is used for codata. I have inhereted some code that does not do this but seems to work fine. We have a CUSTOM\_ETHERNET handler and a UDP handler funtions, written mostly in assembler and do not restore the IX register.

Is this rule only applicable for cofunctions?

Thanks
