Answer by Peter Cordes for What 8086 instructions accept REP?
You can't repeat arbitrary instructions with rep.In asm syntax, rep just means to include an F3 byte as a prefix for this instruction. There is no implication that it actually means repeat, it's just...
View ArticleAnswer by user3840170 for What 8086 instructions accept REP?
All of them. But it will only have an effect with a select few.Contrary to what the question implies, the rep prefix is not an orthogonal looping construct that can be combined with any instruction....
View ArticleAnswer by Raffzahn for What 8086 instructions accept REP?
[You might want to add a bit more information to start with - like what assembler you're using, or what kind of 'Error thrown' you expect. From assembler? Linker? Debugger? Or some OS/Runtime?...
View ArticleWhat 8086 instructions accept REP?
I tried this code in my assembler, set to 16 bit mode:bits 16rep mov ds, axSurprisingly, no error was thrown. Is this even valid? Wasn't rep only supposed to work with string instructions? Is it just a...
View Article
More Pages to Explore .....