Hello, * On Sat, Oct 21, 2017 at 06:01:03AM +0200 Michał Pleban wrote: > Mia Magnusson wrote: > > > Well, AFAIK you can't REP more than one instruction. The question is > > will the 8088 throw away the result of one CMP when the next one runs > > in the REP loop? Or is it possible to break out of the REP loop if CMP > > sets the condition codes to "the data differs"? > > Right. It would probably be necessary to do something like this: > > loop: > CMPSW > JNE ... > LOOP loop Perhaps I am missing the point, but: Shouldn't REPNE CMPSW JNE ... do what you want to achieve? Regards, Spiro. -- Spiro R. Trikaliotis http://www.trikaliotis.net/ Message was sent through the cbm-hackers mailing listReceived on 2017-10-21 12:00:02
Archive generated by hypermail 2.2.0.