Hi friends!!!!

  I need helps to do this calc in TASM:

SI=(*4 + )/2

I'm beginner and I tried to do it but it is so difficult for my level.

Thanks!  :thumbsup:
Posted on 2009-03-26 02:37:27 by NoneOfThem


MOV SI , WORD PTR
SUB  SI , 7
MOV CX , WORD PTR
SHL  SI , 2
SUB  CX , 31
ADD  SI , CX
SHR  SI , 1

P.S: not tested.
Posted on 2009-03-26 02:49:31 by XCHG