Re: MCC18 位移
|
||||
---|---|---|---|---|
版主
|
應該說在C所宣告的Global 變數是可以用 In-Line Assembly 去處理的,當然型別最好是 unsigned char。
有關如何使用嵌入式組合語言的方法在 W401 C18 的第七張有詳細的語法說明。 http://www.microchip.com.tw/modules/w ... glefile.php?cid=4&lid=236
發表於: 2009/2/19 9:22
|
|||
|
Re: MCC18 位移
|
||||
---|---|---|---|---|
資深會員
|
那如何用組合語言去叫C裡的變數
發表於: 2009/2/18 22:20
|
|||
|
MCC18 位移
|
||||
---|---|---|---|---|
資深會員
|
請問一般位移會填0進入,如何使其填入1(使用C語言)
ex: A=0x01; A=A<<1; ans: A=0x02; 可是我要的是A=0x03
發表於: 2009/2/18 15:08
|
|||
|