assembly - Intel 8086 TASM - illegal number -



i've been doing program, need compare values of register number. while emulating on emu8086 had no troble, tasm compiler gave me error on lines such:

cmp bx, 0xf7f0h 

the error looks this:

***error*** div.asm(163) illegal number 

any ideas how solve this?
of course put f7f0h value register, or variable, i'd prefer keeping constant value.

tasm doesn't understand 0x... notation. if complains f7f0h (because thinks label), have add leading zero: 0f7f0h.


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -

javascript - How to change image src on success AJAX -