NEG problem

Hi ,I'm new to assembly and just reading great book about it but i have a problem with red line below.

NEG BYTE [BX] ; Negates byte quantity at DS:BX
[color=Red]NEG WORD [DI] ; Negates word quantity at DS:BX[/color]

this is what it says in the book but i dont understand how he got BX from DI.Is it mistake in the book or i skipped something,somewhere...(more probably)
I tried to load this into debug to c what happens but only thing are flags changing. :(
pls can somebody point me to what to look for .

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!