Difference in Opcodes
Shehryar Humayun
shehryarhumayunkhan@yahoo.com
Sun Sep 22 10:38:00 GMT 2002
Hi,
Why is it that the opcodes generated by CGEN in
arm-opc.c and the opcodes written in tc-arm.c for the
same insn different. e.g.
in tc-arm.c, the opcode for instruction
add $rd,$rs,$rn
is "0x0000" and in arm-opc.c (the one generated by
CGEN), the value is "0x1800".
Can any one tell me how are the opcode values
generated by CGEN? Moreover, how can the two values
produce the same results? Thirdly, how is the
semantics field in define-normal-insn interperated and
where is it output?
Regards
Shehryar
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
More information about the Cgen
mailing list