Browsing this Thread:
1 Anonymous Users
|
請問C前置指令與ASM巨集問題?
|
|
資深會員
Joined
: 2007/8/17 11:15 最後登入時間
: 2023/4/24 17:08
Group:
註冊會員
Level : 24 HP : 0 / 586 MP : 243 / 29395 EXP : 47
|
大家好:如題,請問如下所列: (1). #DEFINE LEVEL 1 #IF LEVEL == 0 #DEFINE ROOM "無床" #ELSE IF LEVEL == 1 #DEFINE ROOM "一床" #ELSE IF LEVEL == 2 #DEFINE ROOM "雙床" #ELSE #DEFINE ROOM "三床" #ENDIF 當我LEVEL改設1以上時,組譯會有問題,不知為何? (2). cmp_i macro #KH,#KL 使用#K因為8位元,所以沒問題. 但若要使用16 or 24位元時該如何設? 也就是#KH=16 or 24位元哦! 還是目前組譯沒有支援(MPLAB V7.5)?
煩請大家幫忙解說,Thanks.
發表於: 2007/11/29 17:18
|
|
You can view topic.
你 不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.