why the masm32 can't compile this
aam 10h
:error A2008: syntax error : integer
i have to modify it in my hex editor
D4 0A -> D4 10
so ...faint....
aam 10h
:error A2008: syntax error : integer
i have to modify it in my hex editor
D4 0A -> D4 10
so ...faint....
because that not the way to opcode is written.
AAM doesn't have anything following it.
What did you want the 10h to do?
AAM doesn't have anything following it.
What did you want the 10h to do?
oh...u r right
i find my Intel's manul
D4 ib (No mnemonic)
have to do like this....
db 0D4h, 010h
thank u :)
i find my Intel's manul
D4 ib (No mnemonic)
have to do like this....
db 0D4h, 010h
thank u :)
strange strange opcode, hiew shows d4 10 as 'aam 10' though
very very odd indeed
very very odd indeed
aam, aad,..., are(were) undocumented opcodes (in their full form), therefore are not supported in masm.
however, there is a simple workaround (instead of ugly hardcoded bytes):
however, there is a simple workaround (instead of ugly hardcoded bytes):
option nokeyword:<aad,aam>
aad macro i:=<10d>
db 0d5h,i
endm
aam macro i:=<10d>
db 0d4h,i
endm