标题: keil c6.20c ?±????????±à??·?·¨
  本主题由 admin 于 2006-5-5 23:49 移动 
zona
超级版主
Rank: 8Rank: 8


UID 3
精华 0
积分 503
帖子 532
阅读权限 101
注册 2003-12-16
状态 离线
发表于 2004-8-12 15:52  资料  个人空间  短消息  加为好友 
keil c6.20c ?±????????±à??·?·¨

keil c6.20c ?±????????±à??·?·¨

--------------------------------------------------------------------------------

//<asm.h>
#ifdef ASM
unsigned long shiftR1(register unsigned long);
#else
extern unsigned long shiftR1(register unsigned long);
#endif
//end of asm.h
//<asm.c>
#define ASM
#include <asm.h>
#include <reg52.h>
#pragma OT(4,speed)
unsigned long shiftR1(register unsigned long x)
{
#pragma asm
clr c
mov a,r4
rrc a
mov r4,a

mov a,r5
rrc a
mov r5,a

mov a,r6
rrc a
mov r6,a

mov a,r7
rrc a
mov r7,a

#pragma endasm
return(x);
}
//end of asm.c
????????????????±à?????¤????????
????±ê???ò???????????????ü?????°option for file &#39asm.c&#39?±,
?????????°properties?±?????°Generate Assembler SRC File?±?°Assemble SRC File?±
?????è???????????°???±???°Link Public Only?±???°???±????????±à????????
????·?·¨??????c???ú??????????????#pragma asm??#pragma endasm??????±à??????
????×??????????±???????????±??????????????????????±????ú?ú????±à?ú?????ù??????
?????ì????????.lst???????????????????·????????±??ó??#pragma OT(x,speed)???¨
??????±??¨??????????0-9????







???í?ì?????????????á°ò±?????
顶部
 



当前时区 GMT+8, 现在时间是 2021-10-28 12:46

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
Processed in 0.010211 second(s), 9 queries

清除 Cookies - 联系我们 - 我要委托设计网 - Archiver