From 81ee8310334739922b2e08bdd9eaafd0468af5d6 Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Sun, 7 Jun 2020 13:53:04 -0700 Subject: [PATCH] more --- doc-collection/opcodes/x86/8086.dop | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc-collection/opcodes/x86/8086.dop b/doc-collection/opcodes/x86/8086.dop index cb92da779..c0b234378 100644 --- a/doc-collection/opcodes/x86/8086.dop +++ b/doc-collection/opcodes/x86/8086.dop @@ -531,4 +531,22 @@ opcode sequence(0xAD) name "LODSW" { /* how to show it */ syntax ; } +opcode sequence(0xAE) name "SCASB" { + /* if DF = 1, dstidx -= 1; */ + /* if DF = 0, dstidx += 1; */ + input AL,memory reference byte farptr(ES,dstidx); + modifies flags(CF,PF,AF,ZF,SF,OF); + + /* how to show it */ + syntax ; +} +opcode sequence(0xAF) name "SCASW" { + /* if DF = 1, dstidx -= wordsize; */ + /* if DF = 0, dstidx += wordsize; */ + input accum,memory reference word farptr(ES,dstidx); + modifies flags(CF,PF,AF,ZF,SF,OF); + + /* how to show it */ + syntax ; +}