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
Post a Comment