mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
more
This commit is contained in:
@@ -749,3 +749,22 @@ opcode sequence(0xD1 mrm) where reg == 7 name "SAR" { common opcode "SAR" param(
|
||||
opcode sequence(0xD2 mrm) where reg == 7 name "SAR" { common opcode "SAR" param(rmb,cl); }
|
||||
opcode sequence(0xD3 mrm) where reg == 7 name "SAR" { common opcode "SAR" param(rmw,cl); }
|
||||
|
||||
opcode sequence(0xD4 immb) name "AAM" {
|
||||
modifies flags(SF,ZF,PF,OF,AF,CF);
|
||||
|
||||
/* tmp = al */
|
||||
/* ah = tmp / immb */
|
||||
/* al = tmp % immb */
|
||||
output ah, al;
|
||||
input al;
|
||||
}
|
||||
|
||||
opcode sequence(0xD5 immb) name "AAD" {
|
||||
modifies flags(SF,ZF,PF,OF,AF,CF);
|
||||
|
||||
/* al = (al + (ah * immb)) & 0xFF */
|
||||
/* ah = 0 */
|
||||
output ah, al;
|
||||
input ah, al;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user