def word2bytes(value):
assert <NUM_LIT:0> <= value <= <NUM_LIT><EOL>return (value >> <NUM_LIT:8>, value & <NUM_LIT>)<EOL>
>>> word2bytes(0xff09)
(255, 9)

>>> [hex(i) for i in word2bytes(0xffab)]
['0xff', '0xab']

>>> word2bytes(0xffff +1)
Traceback (most recent call last):
...
AssertionError