NEG problem - Programmers Heaven

Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

NEG problem

operator1operator1 Posts: 3Member
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.