This commit is contained in:
Jonathan Campbell
2020-06-07 13:42:57 -07:00
parent fa40c864b4
commit 07bc98195d

View File

@@ -451,4 +451,24 @@ opcode sequence(0xA0 imma) name "MOV" { common opcode "MOV" param(AL,memory refe
opcode sequence(0xA1 imma) name "MOV" { common opcode "MOV" param(accum,memory reference word imma); }
opcode sequence(0xA2 imma) name "MOV" { common opcode "MOV" param(memory reference word imma,AL); }
opcode sequence(0xA3 imma) name "MOV" { common opcode "MOV" param(memory reference word imma,accum); }
opcode sequence(0xA4) name "MOVSB" {
/* if DF = 1, srcidx -= 1, dstidx -= 1; */
/* if DF = 0, srcidx += 1, dstidx += 1; */
input memory reference byte srcidx,DF;
output memory reference byte farptr(ES,dstidx);
modifies srcidx,dstidx;
/* how to show it */
syntax ;
}
opcode sequence(0xA5) name "MOVSW" {
/* if DF = 1, srcidx -= wordsize, dstidx -= wordsize; */
/* if DF = 0, srcidx += wordsize, dstidx += wordsize; */
input memory reference word srcidx,DF;
output memory reference word farptr(ES,dstidx);
modifies srcidx,dstidx;
/* how to show it */
syntax ;
}