Keil Logo Arm Logo

be in urgent need of help

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
wang wei
Posted
20-Mar-2005 04:18 GMT
Toolset
C166
New! be in urgent need of help
In infenion Instrction set manual,there are 2 instrctions as follow,
MOV Rwn, #data4 E0 #n 2
MOV reg, #data16 E6 RR ## ## 4
where Rwn refers to Word GPR (R0, R1, …, R15); reg refers to SFR/ESFR or GPR
In my BIN file there is one machine code"E6 RR ####",for example"E6 F9 00 00",after being disasembled by IDA,the code is transfered to"MOV R9,#0".But when I used KEIL to build it,it is changed into "E0 09",how can I get it back into "E6 F9 00 00"using Keil,Can anyone give me some advice or help?Thanks a lot!
wangwei
Read-Only
Author
Reinhard Keil
Posted
1-Apr-2005 13:35 GMT
Toolset
C166
New! RE: be in urgent need of help
This is possible using the DATA3/DATA4/DATA16 operators.

See: http://www.keil.com/support/man/docs/a166/a166_operators.htm

http://www.keil.com/support/man/docs/a166/a166_op_datax.htm

Reinhard

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.